Option file setting for cipher and hash not glo...
\ anogeorgeo (18 Sep 2006)
. \ David Shaw (18 Sep 2006)
. \ Laurent Jumet (18 Sep 2006)

1 msgOption file setting of cipher and hash not global?
2 msgSynchronize keyrings
1 msg[Announce] libgpg-error 1.4 released
1 msgCardreader installation
1 msgProblem mit gpgcard
1 msgANN: pine-gpg-filter: another pine + GPG filter...
16 msgNeed non-writable --homedir
2 msgdump/dd/tar + gpg > tape = file write error
3 msgcodeset conversion issue with GnuPG 1.4.x on HP...
3 msgEnabling smart card PIN cache ?
1 msgUnable to find secret key
1 msgHolger Smolinski/Germany/IBM is on vacation unt...
2 msgBeginner's smartcard questions
17 msgCompiling GnuPG 1.4.5 for Windows on Windows
1 msgminimize not cleaning up broken binding sigs
1 msgBatch Options
1 msgSig shows as bad in sent mail folder
6 msgCan't read belgium eID card using gpgsm
1 msg[Announce] Libksba 1.0.0 released.
Subject:Option file setting for cipher and hash not global?
Group:Gnupg-users
From:anogeorgeo
Date:18 Sep 2006


 
Hi,

My system:
Windows XP Home SP2
GnuPG 1.4.5

I wish to have GnuPG automatically use the cipher algo TWOFISH and hash algo
RIPEMD-160 for all keys that are created.

I have these settings in my "gpg.conf":
cipher-algo TWOFISH
digest-algo RIPEMD160
s2k-cipher-algo TWOFISH
s2k-digest-algo RIPEMD160

But when I create a new key and use "showpref" I find the key is using the
cipher AES256 and the hash SHA1.

Is it possible to make all keys use TWOFISH and RIPEMD-160 by default?

Also, is there a batch command that will automatically process the "setpref"
command after "gpg --edit-key {key}" is processed? I tried using
the following batch file but it prompts to "Command>" after processing "gpg
--edit-key {key}":

---
cd "C:\Program Files\GnuPG"

gpg --edit-key {key}

setpref S10 S9 S3 H3 H10 H9 Z2 Z1
---

Thank you,
Anothony


_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users


© 2004-2008 readlist.com