gpg --list-keys
Jump to navigation
Jump to search
Examples
gpg --list-keys /root/.gnupg/pubring.kbx ------------------------ pub rsa2048 2020-03-20 [SC] 1234ABC8856227E7647FA0B2D65ABCDEFG12345 uid [ unknown] [email protected] (dev-key) <[email protected] > sub rsa2048 2020-03-20 [E] pub rsa4096 2018-11-20 [SC] [expires: 2022-11-20] 1234ABC8856227E7647FA0B2D65ABCDEFG12345 uid [ unknown] Your Name <[email protected] > sub rsa4096 2018-11-20 [E] [expires: 2022-11-20]
gpg --list-keys gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created
Related
See also
gpg, --batch | --generate-key | --full-generate-key | --recv-keys | --export | --encrypt | --import | --list-keys | --list-secret-key | --gen-key | --armor | --dearmor | --send-keys | --search-keys | --quick-set-expire | --keyserver | --delete-keys | --full-generate-key | --armor --export | gpg --help
Advertising: