Closed wiwiwa closed 1 year ago
Thanks @wiwiwa , The issue is indeed confirmed.
It seems that all subsequent arguments following £
character are ignored.
I suspect the issue to be caused by the character itelf: £
is not ASCII. Its Unicode representation is 0x00 0xa3
; it is likely that the parser stops string interpretation when the first 0x00
is encountered.
The issue is happening at the parser & lexer level. Unless there is an imperative reason to fix it, I'll leave this one as is.
Describe the bug p11keygen simply ignores unknown argument if argument starts with unicode characters
To Reproduce Steps to reproduce the behavior:
p11keygen -i test_key -k rsa WRAP £UNWRAP
, success to generate keyp11ls prvk/test_key
outputsprvk/test_key tok,prv,r/w,loc,sen,ase,nxt,rsa(2048)
. Nounw
attribute foundExpected behavior run
p11keygen -i test_key -k rsa WRAP £UNWRAP
should fail with error messageOperating System (please complete the following information):