defaults / homedir / loal variable / option file etc

david at gbenet.com david at gbenet.com
Mon Jan 3 17:25:55 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Neil,

gpg reads gpg.conf by default so you an stick any variables you like - they wil get read

David

Neil Phillips wrote:
> Hi,
> 
> gpg -version = 2.0.14
> 
> So i'm looking at changing some of the defaults used by gpg.
> cipher, compression that sort of thing.
> 
> i've read that i can use a command line to use a specific options file,
> something like --options file
> but thats a per use, not a set default behaviour.
> 
> it says i can place stuff in a file called gpg.conf that is located in my
> C:\Profiles\xxx\Application Data\gnupg folder.
> well there is no gpg.conf file there :(
> 
> it says --homedir can change the default location of the home directory, the
> place where i should see my gpg.conf file.
> 
> it says that i can find my home directoy in the Registry under the key
> HKEY_CURRENT_USER\Software\GNU\GnuPG using the name "HomeDir"
> well there is no GnuPG folder there :(
> 
> apparently i could set a user-level environment variable, GNUPGHOME.
> no such variable exists :(
> 
> my questions are:
> 1. can i use a gpg.conf file to set some default behaviours for gpg?
> 2. where should the gpg.conf file be stored.
> 3. do i need a registry entry at all?
> 
> i do have an entry in the path variable which is allowing me to use gpg.
> i have created a key for myself and can use that from anywhere in my file system
> with gpg to generate an encrypted file without any error messages.
> 
> i'm assuming that my key does not contain settings for which cipher to use or
> which compression method or which hash method to use and that those settings are
> picked during the actual encryption of my file?
> 
> Neil
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 

- --
“See the sanity of the man! No gods, no angels, no demons, no body. Nothing of the kind.
Stern, sane,every brain-cell perfect and complete even at the moment of death. No delusion.”
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJNIfiTAAoJEOJpqm7flRExClcIAKUWoV0d23XPrCqjdPxI8OIR
bMsmwnVeibanbBet7g8RnEgPwXH2ZEkYtuJgCRrH0WDrS+bqvKN4FdJyWvCKGV/t
12sTHvvUjgKUseu/1szwRCCQzvMtNCShc+hm/PoC6yWhT9HyizR4Pm/1hZhkXwNx
mUO1+e5RJLVdu1/Q71OVsfKAixQn8m+1IZPtedqYmKUENbWjjwdBzA58c40p1Vq7
6ArVDn/r/rxS+oK77xsbxA6h5JeX+txzFq7u5tIQw96kptHpTuigz18ddaI+JqXX
P65cvz5ZPwCcVs8yvUf4Z6jk9/Y8WoIr8y0L6RiwwR7Pyinacyr0X8t3eG86raY=
=uMf0
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list