[gnutls-devel] GnuTLS | p11tool: fix admin user PIN initialization (!776)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Oct 24 10:41:51 CEST 2018


Hubert Kario started a new discussion on tests/testpkcs11.sh:

> +	if test $? != 0; then
> +		echo failed
> +		exit_error
> +	fi
> +	echo ok
> +
> +	echo -n "* Re-setting user PIN... "
> +	export GNUTLS_PIN="${UPIN}"
> +	${P11TOOL} ${ADDITIONAL_PARAM} --login --initialize-pin "${token}" >>"${LOGFILE}" 2>&1
> +	if test $? != 0; then
> +		echo failed
> +		exit_error
> +	fi
> +
> +	echo ok
> +}

test case checking what happens if the pin is longer than 64 characters is missing

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/776#note_111350998
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181024/fafbb474/attachment.html>


More information about the Gnutls-devel mailing list