[xmlsec] Problems passing keys to xmlsec

Dmitry Belyavsky beldmit at cryptocom.ru
Tue Jan 24 07:43:52 PST 2006


On Tue, 24 Jan 2006, Aleksey Sanin wrote:

> Easy one :) Try the following command
> $ xmlsec1 --sign --pkcs8-pem seckey.pem --pubkey-pem cert.pem ~/test.xml
> instead of
> $ xmlsec1 --sign ~/test.xml --pkcs8-pem seckey.pem --pubkey-pem cert.pem
> (template filename should be at the end).

I've found it out too... Wouldn't it be better either to warn user
almost all args are skipped or make xmlSecAppCmdLineParamsListParse more
robust (i.e. treat pos=2 passed to it specially)?

Thank you!

SY, Dmitry Belyavsky (ICQ UIN 11116575)

More information about the xmlsec mailing list