$ gpg --version
gpg (GnuPG) 2.1.17
$ gpg --no-default-keyring --keyring ./test.kbx --recv-keys 0x1318efac5fbbdbce
gpg: keybox './test.kbx' created
gpg: key 1318EFAC5FBBDBCE: public key "Ximin Luo <infinity0@pwned.gg>" imported
[..]
2
$ gpg --no-default-keyring --keyring ./test.kbx --export -a --export-options
export-minimal 0x1318efac5fbbdbce > key.asc
$ gpg --list-packets < key.asc | grep nicolas
hashed subpkt 26 len 55 (policy:
http://nicolas.braud-santoni.eu/gpg-policy-20150222.asc)
hashed subpkt 26 len 55 (policy:
http://nicolas.braud-santoni.eu/gpg-policy-20150222.asc)
[.. many more .. ]