Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread Tiago Faria
On Sun, 02 Jan 2011 07:15:25 -0500
Mike Acker  wrote:

> is: how does S9 equate to AES256 ?  there has to be a way to find the
> equivalence between the verbose codes and the short hand

Hi Mike,

$ gpg --verbose --version

will tell you (after the cipher/algorithm and between ()) what is the
short code to use with setpref. Example for Cipher:

...
3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8), AES256 (S9)
...

I might have misunderstood your question, so feel free to let me know
if you need something else.

Regards,
T

-- 
Tiago Faria |   http://xroot.org

OpenPGP Key ID: 0xB9466FB4 | http://xroot.org/contact
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4



signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread Tiago Faria
On Sun, 02 Jan 2011 05:35:23 -0500
"Robert J. Hansen"  wrote:

> It will respect default-cipher-preference.  Certificate prefs are not
> used during symmetric encryption, since certs themselves are not used
> at all.

Indeed Robert. Thanks for pointing that out.

I only noticed that certs were not even being used _after_ sending the
message on how to edit their preferences.

Regards,
T

-- 
Tiago Faria |   http://xroot.org

OpenPGP Key ID: 0xB9466FB4 | http://xroot.org/contact
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4



signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread frankexchange

Thanks to everyone for providing tips, I found the answer at:

"The default symmetric cipher used is CAST5"
http://www.gnupg.org/documentation/manuals/gnupg/Operational-GPG-Commands.html

and used the Ubuntu Terminal to list the ciphers used:

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8), 
AES256 (S9), TWOFISH (S10), CAMELLIA128 (S11), CAMELLIA192
(S12), 
CAMELLIA256 (S13)

Frank

- Original message -
From: "Robert J. Hansen" 
To: gnupg-users@gnupg.org
Date: Sun, 02 Jan 2011 05:35:23 -0500
Subject: Re: Default GPG Encryption Algorithm (symmetric cipher) is?

On 1/2/2011 12:57 AM, Tiago Faria wrote:
> If it uses GnuPG, then it will respect the rules set by your keyring
> preferences. You can check the preferences with the command:

It will respect default-cipher-preference.  Certificate prefs are not
used during symmetric encryption, since certs themselves are not used at
all.

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


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


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread Robert J. Hansen
On 1/2/2011 12:57 AM, Tiago Faria wrote:
> If it uses GnuPG, then it will respect the rules set by your keyring
> preferences. You can check the preferences with the command:

It will respect default-cipher-preference.  Certificate prefs are not
used during symmetric encryption, since certs themselves are not used at
all.

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


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread Larry Brower
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01/02/2011 12:14 AM, frankexcha...@nospammail.net wrote:
> As mentioned I am a Linux newbie (command line adverse) and like many
> users of Ubuntu they would not know how access details of what the
> default symmetric cipher is.
> 
> Use of the term "default" was provided to mean the one GPG uses without
> any user intervention IE: Default
> 
> So at risk of sounding silly, what is the Default symmetric cipher used
> in GPG under Unbuntu 10.04 LTS?
> 
> Thanks
> Frank
> 

Perhaps try looking in ~/.gnupg/gpg.conf ?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJNICscAAoJEPXCUD/44PWqzpIP/Rc15kfAPtt3ZWFH1BYQEGIx
hoPHsYHr5+mTAoDd0gGNo/7JRLJwEnLxb539VCUfDSBXgvwfPNfYLydw0lY+43xh
vxlGbsSAu3qwXySeSToozdVItav2ERwQ7rkMPfoJ8J0itRUj8cJyRp8Rzj8iBxvP
KvDTnwEdtB1nwb2SZeNSug2Z08bvoBWPoMbfRxlNXaam2rMpiX7+SelsU52cyD0Q
WdUbDI/ue2F4nnPmuuyul0fMkU54RtkU2mHF2RJfOyP6iaHpVIgmEc+VNILP9hBT
FSs7GkPjvvfNw8R3smJUxMIncMNyEKIs/R4hl+OxJmBay6EimEmVnkyifioEK5+H
zmp4rVa0jwOoqXhqWs1v0W5Djl/hWPtpetFnBluOsaN1/3n7cAl9kFWzyMRi4Vwb
dE5iKAdXNZS9YFyWHrlO/Ztzh8+jBtoETFCgLxdid6AFoDwl+yikTpDaY/NBdJ3I
XAeDkXZ7OJxNKvT6XL72nDs3jwQI9raJaOnOebHKDz1VnRWy6ymhDVMxCjqzxBke
zXAOKgcbukXkqEi6j6btrJEdO8qqJL6js6yEqsywlnipGBAbOqVERpm9HLws8Dna
SU7+N8Pd8xxTJx5NQKJoZ3vc0A5bOgfKyYmmPnkpKKsiUzUd3sX4unBlvmXOwrob
VbC5puSVCkZpo442WOcQ
=62Di
-END PGP SIGNATURE-

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


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-02 Thread Robert J. Hansen
On 1/2/2011 1:14 AM, frankexcha...@nospammail.net wrote:
> Use of the term "default" was provided to mean the one GPG uses without
> any user intervention IE: Default

And the answer here is exactly what I said: whatever you tell it to be.

Computers are complex beasts.  Two installations of the same operating
system will be very similar in some ways and very different in others.
For some kinds of software, you can get away with saying "the default
is...".  Security-related software is different: assuming that your
installation is just like somebody else's installation is dangerous.  If
something's important to you, then you need to take steps to take direct
control of it.

But, since you're asking: by default it's CAST5-128.  Don't depend on
this.  This is what's true on my Ubuntu 10.04 LTS system: it may not be
the same for yours.

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


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-01 Thread Tiago Faria
> default-cipher-preferences [algo name]

> ... to your ~/.gnupg/gpg.conf file.

My bad for sending the last e-mail. While those settings apply to
hybrid systems, I don't know if this application generates a keyring,
and therefor, those instructions are not very helpful. 

Sorry.

T

-- 
Tiago Faria |   http://xroot.org

OpenPGP Key ID: 0xB9466FB4 | http://xroot.org/contact
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4



signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-01 Thread Tiago Faria
On Sun, 02 Jan 2011 04:24:27 +
frankexcha...@nospammail.net wrote:

> Deja Dup on Ubuntu 10.04 LTS: Default GPG Encryption Algorithm
> (symmetric cipher) is?

If it uses GnuPG, then it will respect the rules set by your keyring
preferences. You can check the preferences with the command:

gpg --edit-key 0xYOURID
pref

(if you don't know your ID, use gpg --list-secret-keys)

It will list what are the preferred ciphers, algorithms for integrity
and compression.

If you want to change it, and use something else, you
can use the following command to see the supported values:

gpg --verbose --version

After that, you can change your preferences. Edit your key again:

gpg --edit-key 0xYOURID

and now use the 'setpref' option, respecting the values you got from
gpg --verbose --version command.

For example:

setpref S9 S8 S7 S3 H10 H9 H8 H11 Z3 Z2 Z1 Z0

will configure a UID (these preferences are UID-based) to use: 

Cipher: AES256, AES192, AES, CAST5, 3DES
Digest: SHA512, SHA384, SHA256, SHA224, SHA1
Compression: BZIP2, ZLIB, ZIP, Uncompressed

Hope this makes it easier for you to understand and edit to suit your
needs. 

I think I didn't miss anything, but feel free to correct me :)

Happy new year list!

Tiago
-- 
Tiago Faria |   http://xroot.org

OpenPGP Key ID: 0xB9466FB4 | http://xroot.org/contact
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4



signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-01 Thread frankexchange
As mentioned I am a Linux newbie (command line adverse) and like many
users of Ubuntu they would not know how access details of what the
default symmetric cipher is.

Use of the term "default" was provided to mean the one GPG uses without
any user intervention IE: Default

So at risk of sounding silly, what is the Default symmetric cipher used
in GPG under Unbuntu 10.04 LTS?

Thanks
Frank


- Original message -
From: "Robert J. Hansen" 
To: gnupg-users@gnupg.org
Date: Sun, 02 Jan 2011 00:46:45 -0500
Subject: Re: Default GPG Encryption Algorithm (symmetric cipher) is?

On 1/1/2011 11:24 PM, frankexcha...@nospammail.net wrote:
> Does anyone know exactly which default symmetric Cipher (Encryption
> Algorithm) is used by GPG? Apparently it is CAST-128, but I cannot find
> any citation online that confirms this is the case for the version of
> GPG integrated into Ubuntu 10.04 LTS OS.

Forgive what may seem like a silly answer, but "whatever you told GnuPG
to use as a default."  If you want CAST5-128, 3DES, AES256 or whatever,
just add:

default-cipher-preferences [algo name]

... to your ~/.gnupg/gpg.conf file.

To get a list of algorithm names, type "gpg --version" at a command
line.

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


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


Re: Default GPG Encryption Algorithm (symmetric cipher) is?

2011-01-01 Thread Robert J. Hansen
On 1/1/2011 11:24 PM, frankexcha...@nospammail.net wrote:
> Does anyone know exactly which default symmetric Cipher (Encryption
> Algorithm) is used by GPG? Apparently it is CAST-128, but I cannot find
> any citation online that confirms this is the case for the version of
> GPG integrated into Ubuntu 10.04 LTS OS.

Forgive what may seem like a silly answer, but "whatever you told GnuPG
to use as a default."  If you want CAST5-128, 3DES, AES256 or whatever,
just add:

default-cipher-preferences [algo name]

... to your ~/.gnupg/gpg.conf file.

To get a list of algorithm names, type "gpg --version" at a command line.

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