Show date and expires in subkeys

Issue #81 resolved
Óscar García Amor
created an issue

Currently there is no way to obtain subkeys dates and cannot know when a subkey expires.

I think that will be interesting add this feature.

Comments (4)

  1. Óscar García Amor reporter

    When you list one key with the command line gpg --list-keys --fixed-list-mode --batch --with-colons --fingerprint KEYID you obtain some like this (for example with a friend key 90ADF27A6AA55A789738CDB15369AA4171B5139C):

    tru::1:1476444359:1518446105:3:1:5
    pub:-:4096:1:5369AA4171B5139C:1455397133:::-:::cESC::::::23:::
    fpr:::::::::90ADF27A6AA55A789738CDB15369AA4171B5139C:
    uid:-::::1476129701::5CD9DF7EE363E5FA26632E2483896D9DDC5D4CC9::Andres J. Diaz (Personal) <ajdiaz@ajdiaz.me>:::::::::::
    sub:-:4096:1:5CE181D35CEF8C82:1455397154:1629737708:::::s::::::23:
    fpr:::::::::94897500D8FD015E575367795CE181D35CEF8C82:
    sub:-:4096:1:6F443CF5C297F654:1455397279:1629737729:::::e::::::23:
    fpr:::::::::1FE1B892D19D2690B99C543F6F443CF5C297F654:
    

    In the subkeys fields (sub:-:4096:1:5CE181D35CEF8C82:1455397154:1629737708:::::s::::::23:), the 1501762393 is the valid from timestamp and the 1629737708 is the valid to timestamp for these subkey. If the valid to field is in blank then is valid forever. For example with my own key:

    tru::1:1476444359:1518446105:3:1:5
    pub:u:4096:1:BD41447DE05755B9:1434476898:::u:::cESCA::::::23:::
    fpr:::::::::D7D615B69DFC688E06120164BD41447DE05755B9:
    uid:u::::1434476898::C834ADB35C082AA1BC295DB576742AF69B59D364::Óscar García Amor <ogarcia@connectical.com>:::::::::::
    uat:u::::1434477096::0A4B224257BAE3AE6B142133D55A2869240D0E75::1 9029:::::::::::
    sub:u:4096:1:E18B2370D3D566EE:1434477332::::::s::::::23:
    fpr:::::::::A476E80D6588620E5A64AE66E18B2370D3D566EE:
    sub:u:4096:1:18C6D80F2E834E22:1434477468::::::e::::::23:
    fpr:::::::::F23B8A2A4FC860A2FB6815A318C6D80F2E834E22:
    sub:u:4096:1:893DC229D2FDA5A0:1434477664::::::a::::::23:
    fpr:::::::::4B96C7933209FDEB14697D5F893DC229D2FDA5A0:
    

    It have valid from timestamp in first subkey 1434477332 but no valid to because it not expires.

  2. Log in to comment