cd ~/.pgp
pgp -kgMake sure to use the pgp version /opt/local/bin/pgp. Two rings, one public (pubring.pgp) and one secret (secring.pgp) will be created in your .pgp directory. To view the contents of a ring - pubring.pgp, for instance - type in
pgp -kv yourid pubringHere yourid is the user identifier you used when creating your keys. Make sure you remember both this identifier and the pass phrase associated with your keys.
pgp -ka damian.public.pgp pubring
pgp question.pgp -o question.txtThe signature will be verified and the original text will be saved in question.txt.
pgp -sta answerfile -u youridA file called answerfile.asc (that could be displayed in text format) will be created.
pgp -kx yourid keyname ~/.pgp/pubringYour public key will be extracted in the file keyname.pgp.
pgp -e keyname.pgpYou will be promted for the userid of the public key you wish to encrypt with. Use "mirela.damian", without quotes.