GPG and simple file encryption
Michael Roth
mroth at nessie.de
Tue Sep 14 00:15:58 CEST 2004
Anthony Thyssen wrote:
> For a long time I have encrypted some plain text files using PGP
> as follows...
>
> (using v2) pgp -c file
> (using v5) pgpe -c file
>
> to decrypt
> (using v2) pgp file.pgp
> (using v5) pgpv file.pgp
> I also have filter commands for use in my vim editor.
>
> However I am now trying to find GPG equivelents, but when I try to
> encrypt it wants to use a public key, not just a pass-phase.
"man gpg":
-c, --symmetric
Encrypt with a symmetric cipher using a
passphrase. The default symmetric cipher used
is CAST5, but may be chosen with the --cipher-
algo option.
So the solution is:
(encrypt) gpg -c file
(decrypt) gpg file.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20040914/ca7accdb/signature.bin
More information about the Gnupg-users
mailing list