welcome: please sign in
location: GnuPG

此处放各种 PGP/GnuPG 相关的备忘。


Use only Subkey

To use only a specific subkey on a system (so called "Laptop Key"),use:

   1 gpg --export-secret-subkeys 16EABFBF > 16EABFBF.subkey
   2 gpg --import < 16EABFBF.subkey

Sign with Git

To let Git sign every commit/tag with specific key, set:

   1 git config --global commit.gpgsign true
   2 git config --global user.signingkey 16EABFBF

Sign other's

   1 gpg --set-policy-url "https://atr.me/~pgp/" --sign-key --ask-cert-level ABC12345

GnuPG (last edited 2016-07-08 16:16:49 by AstroProfundis)

How many stars in your bowl, How many sorrows in your soul?
CopyRight © 2011-2017 Allen Zhong, under a CC BY-NC-ND 4.0 License. | IPv6 Enabled.