cipher-algo AES256
digest-algo SHA512

Those are bad news: you can sabotage your interoperability with other
RFC4880 or LibrePGP applications that way. Better by far to use the
cipher preference mechanism. An example is found in section 8.7 of the
official FAQ:

        https://www.gnupg.org/faq/gnupg-faq.html#new_user_gpg_conf

Suppose I have a file called "schema.sql" that I need to compress
and encrypt, or a folder called "daily_backup" which consists of 5
files and 3 subdirectories (each containing various files). How
would you recommend I compress and encrypt this data?

$ tar cJf daily_backup.txz /path/to/daily_backup
$ gpg --symmetric daily_backup.txz


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to