Different signing & encryption keys
Werner Koch
wk at gnupg.org
Wed Aug 13 09:37:40 CEST 2014
On Wed, 13 Aug 2014 06:29, rjh at sixdemonbag.org said:
> Look at the right hand side. For each subkey (including the main
> signing key) there will be an entry for "usage". This field can contain
> the letters S, C, A, or E.
Using --edit-key is a bit cumbersome and --with-colons is hard to read.
Thus what about this new option:
$ gpg2 -k --list-options show-usage 1e42b367
pub dsa2048/1E42B367 2007-12-31 [SC ] [expires: 2018-12-31]
uid [ unknown] Werner Koch <wk at gnupg.org>
uid [ unknown] Werner Koch <xxxx>
uid [ unknown] Werner Koch <xxxxxxx>
sub dsa1024/77F95F95 2011-11-02 [S ]
sub rsa2048/664D7444 2014-01-02 [E ] [expires: 2016-12-31]
However, it might be better to use a variable length field because the
column position depends on the algorithm anyway:
pub dsa2048/1E42B367 2007-12-31 [SC] [expires: 2018-12-31]
uid [ unknown] Werner Koch <wk at gnupg.org>
uid [ unknown] Werner Koch <xxxx>
uid [ unknown] Werner Koch <xxxxxxx>
sub dsa1024/77F95F95 2011-11-02 [S]
sub rsa2048/664D7444 2014-01-02 [E] [expires: 2016-12-31]
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list