Determining algorithm to be used?

Johan Wevers johanw at vulcan.xs4all.nl
Fri Nov 19 11:38:48 CET 2004


Henry Andrew wrote:

>If I encrypt a file, how can I determine which algorithm was or is used
>to encrypt it?  Is it the first algorithm in the list of algos on my
>key??

The first algo that is on all keys the file will be encrypted to. If there
are more keys I don't know in which order they will be searched.

>If I update prefs to make sure AES256 is first, will encryption
>automatically use this algo??

If you encrypt only to that key, yes.

>I want to stop having to use --cipher-algo aes256 every time I encrypt.

You could also put cipher-algo aes256 in gpg.conf.

-- 
ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw at vulcan.xs4all.nl   //  http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html



More information about the Gnupg-users mailing list