summaryrefslogtreecommitdiff
path: root/tests/testpkcs11.sh
Commit message (Collapse)AuthorAgeFilesLines
* p11tool: copy vendor query attributes when listing privkeystmp-p11tool-pinDaiki Ueno2019-04-161-46/+60
| | | | | | | | | | | When listing private keys on a specified token, "pin-value" is ignored and the tool looks for GNUTLS_PIN, because it internally strips out vendor query attributes from the original URL. This also replaces the global uses of GNUTLS_PIN envvar in testpkcs11.sh to check the case where the envvar is not in effect. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* pkcs11: security officer login implies writable sessiontmp-fix-pkcs11-soNikos Mavrogiannopoulos2019-03-151-0/+20
| | | | | | | | | According to the PKCS#11 v2.30, 6.7.1 there are no read-only Security Officer sessions. Resolves: #721 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Fix typo when checking for ed25519 supportMarga Manterola2019-01-031-1/+1
|
* Add support for EDDSA/Ed25519 object support via PKCS#11Simo Sorce2018-11-191-0/+36
| | | | | | | | | Tested with softHSM 2.5.0 Resolves #417 Signed-off-by: Simo Sorce <simo@redhat.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* p11tool: fix initialization of security officer's PINtmp-initialize-so-pin-fixNikos Mavrogiannopoulos2018-10-241-2/+119
| | | | | | | | | | | | Previously we would call gnutls_pkcs11_token_set_pin() without an old PIN provided, which will result to the use of C_InitPIN() on the underlying module. The C_InitPIN() in contrast with C_SetPIN() will only work for the user and not for the administrator. As such, we always provide the oldpin for when we change the admin's PIN. Resolves #561 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* p11tool: print expiration time on certificatesNikos Mavrogiannopoulos2018-08-031-64/+92
| | | | | | | This is particularly useful when displaying information about a certificate trust store. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tests: testpkcs11.sh was moved to the main testsNikos Mavrogiannopoulos2018-03-191-0/+938
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>