gpg: Print a warning if the subkey expiration may not be what you want.
authorWerner Koch <wk@gnupg.org>
Wed, 17 Sep 2014 14:27:37 +0000 (16:27 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 17 Sep 2014 14:27:37 +0000 (16:27 +0200)
commitae3d1bbb65b65cf3c57bb14886be120f5e31635d
tree6c6ef8672f694dd77463ec8fd9f9269f39316fe8
parent457bce5cd39146df047e4740162125c32c738789
gpg: Print a warning if the subkey expiration may not be what you want.

* g10/keyedit.c (subkey_expire_warning): New.
(keyedit_menu): Call it when needed.
--
GnuPG-bug-id: 1715

The heuristic to detect a problem is not very advanced but it should
catch the most common cases.
g10/keyedit.c