List Info

Thread: What signature does pkcs11-tool -s create and how can I change it into an ascii-armore




What signature does pkcs11-tool -s create and how can I change it into an ascii-armore
user name
2008-02-23 16:12:57
Hi all,

I was wondering how I could get pcks11-tool to output
ascii-armored
signatures and/or to display what is actually 'in' the
signature in
human-readable format.

I tried everything I could think of with openssl's x509 and
verify
functions, but I have been unable to achieve anything.


All help appreciated 
Richard
_______________________________________________
opensc-user mailing list
opensc-userlists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user

Re: What signature does pkcs11-tool -s create and how can I change it into an ascii-ar
user name
2008-02-25 13:54:54
Richard Hartmann wrote:
> Hi all,
> 
> I was wondering how I could get pcks11-tool to output
ascii-armored
> signatures and/or to display what is actually 'in' the
signature in
> human-readable format.

I wouldn't consider PEM human-readable ... pkcs11-tool
returns the
raw binary data

> 
> I tried everything I could think of with openssl's x509
and verify
> functions, but I have been unable to achieve anything.

"openssl verify" expects x509 certificates and not
raw signatures.
If you want to decrypt a raw signature try "openssl
rsautl ..."
(the exact parameter depend on the mechanism used for the
signature
creation).

Nils
_______________________________________________
opensc-user mailing list
opensc-userlists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user

Re: What signature does pkcs11-tool -s create and how can I change it into an ascii-ar
user name
2008-02-25 16:31:26
On Mon, Feb 25, 2008 at 8:54 PM, Nils Larsch <nlarschgmx.net> wrote:

>  "openssl verify" expects x509 certificates
and not raw signatures.
>  If you want to decrypt a raw signature try
"openssl rsautl ..."
>  (the exact parameter depend on the mechanism used for
the signature
>  creation).

Thanks!


Richard
_______________________________________________
opensc-user mailing list
opensc-userlists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )