** certtool: When exporting an encrypted PEM private key do not output the key
parameters.
-** tools: The environment variable GNUTLS_PKCS11_PIN can be used to read the PIN.
+** tools: The environment variable GNUTLS_PIN can be used to read the PIN.
** API and ABI modifications:
gnutls_pkcs11_obj_export3: Added
printf("Token '%s' with URL '%s' ", token_label, token_url);
printf("requires %s PIN\n", desc);
- password = getenv("GNUTLS_PKCS11_PIN");
+ password = getenv("GNUTLS_PIN");
if (password == NULL)
password = getpass("Enter PIN: ");
exit 1
fi
-export GNUTLS_PKCS11_PIN=1234
+export GNUTLS_PIN=1234
echo -n "* Writing a client private key... "
$P11TOOL --login --write --label gnutls-client2 --load-privkey $srcdir/pkcs11-certs/client.key "$TOKEN" >/dev/null 2>&1