aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/export.c')
-rw-r--r--g10/export.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c
index 74cb03764..2417edef1 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -1961,6 +1961,11 @@ do_export_one_keyblock (ctrl_t ctrl, kbnode_t keyblock, u32 *keyid,
err = 0;
continue;
}
+ if (strchr (hexgrip, ','))
+ {
+ log_error ("exporting a secret dual key is not yet supported\n");
+ return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+ }
xfree (serialno);
serialno = NULL;