gpg
install on mac
code:text
brew install gpg
no default secret key
generate key
code:text
gpg --gen-key
以下のエラーが出る場合には対処が必要
code:text
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 270 more bytes)
sudo apt-get install rng-tools
sudo rngd -r /dev/urandom
参考