gpg --list-public-keys
gpg --list-secret-keys


#examine asc file
gpg -v < /usr/share/openpgp-keys/gentoo-release.asc

#encode some text
 echo "hello" | gpg --symmetric --armor

#to force pinentry curses

user@Mac ~ % cat .gnupg/gpg-agent.conf 
#default-cache-ttl 84000
#max-cache-ttl 84000
pinentry-program /opt/local/bin/pinentry-curses