Keysigning party/Example of signing multiple UIDs
From 33C3_Public_Wiki
gpg (GnuPG) 2.1.16; Copyright (C) 2016 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Secret key is available. sec rsa2048/A1DAD4EC3E7F0306 created: 2013-07-26 expires: 2017-01-10 usage: SC ssb rsa2048/15C9E3E2459A39FE created: 2014-01-09 expired: 2016-11-02 usage: E ssb rsa2048/17E7B350A0DD0B35 created: 2013-07-26 expired: 2016-11-02 usage: E [ unknown] (1). Test more extra UID [ unknown] (2) Testkey [ unknown] (3) Test extra UID Really sign all text user IDs? (y/N) n Hint: Select the user IDs to sign gpg> uid sec rsa2048/A1DAD4EC3E7F0306 created: 2013-07-26 expires: 2017-01-10 usage: SC ssb rsa2048/15C9E3E2459A39FE created: 2014-01-09 expired: 2016-11-02 usage: E ssb rsa2048/17E7B350A0DD0B35 created: 2013-07-26 expired: 2016-11-02 usage: E [ unknown] (1). Test more extra UID [ unknown] (2) Testkey [ unknown] (3) Test extra UID gpg> uid 1 sec rsa2048/A1DAD4EC3E7F0306 created: 2013-07-26 expires: 2017-01-10 usage: SC ssb rsa2048/15C9E3E2459A39FE created: 2014-01-09 expired: 2016-11-02 usage: E ssb rsa2048/17E7B350A0DD0B35 created: 2013-07-26 expired: 2016-11-02 usage: E [ unknown] (1)* Test more extra UID [ unknown] (2) Testkey [ unknown] (3) Test extra UID gpg> uid 3 sec rsa2048/A1DAD4EC3E7F0306 created: 2013-07-26 expires: 2017-01-10 usage: SC ssb rsa2048/15C9E3E2459A39FE created: 2014-01-09 expired: 2016-11-02 usage: E ssb rsa2048/17E7B350A0DD0B35 created: 2013-07-26 expired: 2016-11-02 usage: E [ unknown] (1)* Test more extra UID [ unknown] (2) Testkey [ unknown] (3)* Test extra UID gpg> sign sec rsa2048/A1DAD4EC3E7F0306 created: 2013-07-26 expires: 2017-01-10 usage: SC Primary key fingerprint: 740E 40A2 F072 860E 6265 1742 A1DA D4EC 3E7F 0306 Test more extra UID Test extra UID This key is due to expire on 2017-01-10. Are you sure that you want to sign this key with your key "Peter Lebbing <peter@digitalbrains.com>" (AC46EFE6DE500B3E) Really sign? (y/N) y gpg> save