Create subkey that will expire in 10 hours

Hauke Laging mailinglisten at hauke-laging.de
Wed Apr 3 22:45:33 CEST 2013


Am Mi 03.04.2013, 09:54:29 schrieb Jack Bates:
> How can I create a new subkey that will expire in just 10 hours?

AFAIK there is no official way to do that. gpg seems to always take the time 
from the creation timestamp of the respective (sub)key. So the only chance to 
get that done (without changing the source code) is to create a key. In this 
sense you are lucky.

1) Set back the system time (al least for gpg) to yesterday and the target 
time.

2) Create the key with one day expiration date.


Hauke
-- 
☺
PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04)
http://www.openpgp-schulungen.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20130403/5b40642e/attachment-0001.sig>


More information about the Gnupg-users mailing list