From 672d2c75ccd3cd5f2317bb76af4c9cc4e5aa4a37 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Fri, 18 Jul 2014 16:19:36 +0200 Subject: [PATCH] add libhsm configuration option This option allows user to generate private keys with CKA_EXTRACTABLE flag set to TRUE. Defaults to FALSE. --- NEWS | 5 +++++ conf/conf.rnc | 5 ++++- conf/conf.xml.in | 3 +++ libhsm/src/lib/libhsm.c | 15 ++++++++++++--- libhsm/src/lib/libhsm.h | 1 + 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 4db7038..2efa176 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +* Enforcer: New repository option allows to generate keys + with CKA_EXTRACTABLE attribute set to TRUE so keys can be wrapped + and extracted from HSM. + + OpenDNSSEC 1.4.6 - 2014-07-21 * Signer Engine: Print secondary server address when logging notify reply diff --git a/conf/conf.rnc b/conf/conf.rnc index 71d527f..65f837e 100644 --- a/conf/conf.rnc +++ b/conf/conf.rnc @@ -50,7 +50,10 @@ start = element Configuration { element RequireBackup { empty }?, # Do not maintain public keys in the repository (optional) - element SkipPublicKey { empty }? + element SkipPublicKey { empty }?, + + # Generate extractable keys (CKA_EXTRACTABLE = TRUE) (optional) + element AllowExtraction { empty }? }* }, diff --git a/conf/conf.xml.in b/conf/conf.xml.in index 0ef2ab9..0536681 100644 --- a/conf/conf.xml.in +++ b/conf/conf.xml.in @@ -9,6 +9,9 @@ OpenDNSSEC 1234 +