Factor out private key operation out of the signing, operations, support import, export, and generation of private keys. Add support for writing PEM and PKCS12 files with private keys in them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19778 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2005 Kungliga Tekniska H<>gskolan
|
||||
# Copyright (c) 2005 - 2007 Kungliga Tekniska H<>gskolan
|
||||
# (Royal Institute of Technology, Stockholm, Sweden).
|
||||
# All rights reserved.
|
||||
#
|
||||
@@ -60,6 +60,11 @@ ${hxtool} query \
|
||||
--friendlyname=friendlyname-test-not \
|
||||
PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1
|
||||
|
||||
echo "make sure entry is found (friendlyname, no-pw)"
|
||||
${hxtool} query \
|
||||
--friendlyname=friendlyname-cert \
|
||||
PKCS12:$srcdir/data/test-nopw.p12 >/dev/null 2>/dev/null || exit 1
|
||||
|
||||
echo "check for ca cert (friendlyname)"
|
||||
${hxtool} query \
|
||||
--pass=PASS:foobar \
|
||||
|
Reference in New Issue
Block a user