aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 00fbb301b..2639ac07f 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1755,6 +1755,9 @@ generate_subkeypair( KBNODE pub_keyblock, KBNODE sec_keyblock )
}
}
+ if (sk->version < 4)
+ log_info (_("NOTE: creating subkeys for v3 keys "
+ "is not OpenPGP compliant\n"));
/* unprotect to get the passphrase */
switch( is_secret_key_protected( sk ) ) {