[xmlsec] Signing with pem keys using GnuTLS

Aleksey Sanin aleksey at aleksey.com
Wed Aug 22 11:44:13 PDT 2018


Sorry, I somehow missed your email. PEM key files are not
supported by xmlsec-gcrypt (and gnutls) because AFAIK the
gcrypt/gnutls library doesn't provide a way to read these
files:

https://github.com/lsh123/xmlsec/blob/master/src/gcrypt/app.c#L235

xmlsec does support reading PEM certificates though.

BTW, I gladly accept patches :)

Aleksey

On 6/29/18 9:22 AM, R Zaghi wrote:
> It seems like when I switch from OpenSSL to GnuTLS xmlsec can't sign 
> using pem keys. It complains about not having the function implemented.
> 
> GnuTLS can certainly verify but cannot sign.
> 
> Is this expected? Why is this?
> 
> 
> 
> Ramin Zaghi
> 
> *Mosaic3DX | User Interface Technology*
> *E*:**rzaghi at mosaic3dx.com <mailto:rzaghi at mosaic3dx.com>
> *M*: +44 7411 915 093
> http://linkedin.com/in/raminzaghi
> 
> 
> 
> 
> 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 


More information about the xmlsec mailing list