kristianf@kflaptop ~ $ echo "test" | gpg -vv -u 0x250B7AFED6379D85! --clearsign gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! gpg: no running gpg-agent - starting '/usr/bin/gpg-agent' gpg: waiting for the agent to come up ... (5s) gpg: connection to agent established gpg: Note: signature key 0x98E007E7D5CF7A6E has been revoked gpg: Note: signature key 0xFC3B17DE05E136A0 expired Tue 01 Dec 2015 12:00:05 PM CET gpg: Note: signature key 0xFED5002857C1ABFA expired Thu 28 May 2015 12:00:08 PM CEST gpg: writing to stdout -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 test gpg: signing failed: No secret key gpg: [stdin]: clearsign failed: No secret key kristianf@kflaptop ~ $ gpg -K 0x250B7AFED6379D85 gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! sec# rsa4096/0x0B7F8B60E3EDFAE3 2007-12-15 [SC] [expires: 2016-12-31] uid [ultimate] Kristian Fiskerstrand uid [ultimate] Kristian Fiskerstrand uid [ultimate] Kristian Fiskerstrand uid [ultimate] Kristian Fiskerstrand ssb# rsa4096/0x5C161C0E6F1D589A 2013-10-20 [A] ssb> rsa2048/0x250B7AFED6379D85 2015-05-27 [S] [expires: 2016-12-31] ssb> rsa2048/0xAF34B0A8161D03BE 2015-05-27 [E] [expires: 2016-12-31] ssb> rsa2048/0x71FA9377C2EF0352 2015-05-27 [A] [expires: 2016-12-31]