Home >Backend Development >PHP Tutorial >Install gpg in osx
First install gpg using brew install gpg
Then try it:
andy@AndyMacBookPro:/usr/local/webdata/andy/company/citic$ gpg
gpg: Created directory '/Users/andy/.gnupg'
gpg: New configuration file '/Users/andy/.gnupg/gpg.conf' has been created
gpg: Warning: Options in '/Users/andy/.gnupg/gpg.conf' have not been used during this run Using
gpg: Keyring '/Users/andy/.gnupg/secring.gpg' has been created
gpg: Keyring '/Users/andy/.gnupg/pubring.gpg' has been created
gpg: Please start typing your message Text...
Or try this:
andy@AndyMacBookPro:/usr/local/webdata/andy/fanli/citic$ gpg --list-key
gpg: /Users/andy/.gnupg/trustdb.gpg : Established a trust database
andy@AndyMacBookPro:/usr/local/webdata/andy/fanli/citic$
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces the installation of gpg in osx, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.