I am having no luck with trying to encrypt a file with a key that I would like to use.
This isn't really a GnuPG use case. If you're looking for an AES256 encryption or decryption tool there are other things that will work better. GnuPG is pretty tightly integrated with RFC4880, which means your output won't just be AES256 but AES256 with additional metadata, framing, etc.
this is the command I used: gpg -e -a --symmetric --cipher-algo AES256 -k keysupplied --input file.txt --output file .gpg
Are you sure that -k does what you think? Try running "gpg -k".-k lists the available public certificates. It doesn't specify a symmetric key to use. :)
Unfortunately, I don't remember offhand whether there's a command-line flag to force a particular AES256 key.
Hope this helps!
OpenPGP_0x1E7A94D4E87F91D5.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users