>> pkcs15-tool -r 1f645352 | grep -v '\-' | base64 -d > Nope! It does not work even if I add the '-i' option on base64 - it > generates more data - the resulting file is larger than the key > itself. Key size is 256 bytes, output (encoded) is 384 bytes. Got it working in pkcs15-tool as well, though it required a bit of playing around with it: "pkcs15-tool -R <applicationID/label> -o /dev/stderr > /dev/null" and then use stderr to gather the actual data. Redirection to /dev/null was needed as it still shows the data in 'user-friendly' format.
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel