Unable to encrypt file with private/public key
wk at gnupg.org
Thu Dec 18 16:59:22 CET 2014
On Thu, 18 Dec 2014 16:39, Dhiraj.Haritwal at ap.sony.com said:
> gpg2 -u FFEEDDCC -r AABBCCDD -se supersecret.txt
You asked to sign (-s) and thus it has to ask for the passphrase (unless
you key is not protected by a passphrase).
> I tried below command which shows confirmation screen where I have
> entered y (yes) & now able to see a file named supersecret.txt.gpg. m
> not sure what file it is because it think encrypted file should has an
> .asc extension.
If you want it ascii armored (which defaults to the ".asc" suffix) you
need to give the option --armor (or -a).
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users