pkcs11-helper icon indicating copy to clipboard operation
pkcs11-helper copied to clipboard

Use URL encoding for binary values

Open saper opened this issue 1 year ago • 2 comments

If PKCS#11 URI format is desired, as proposed https://github.com/OpenSC/pkcs11-helper/pull/4, let's tell our binary serialization routines to accept and generate %20 instead of \x20.

saper avatar Sep 28 '24 12:09 saper

This is changing the legacy, serialisation format? Is there any need to do that? We should be using RFC7512 URIs by default and only accepting the legacy format for compatibility, surely? Changing the legacy format doesn't seem like it's going to help anything?

dwmw2 avatar Sep 28 '24 13:09 dwmw2

This is PR is the first step towards PKCS#11 URLs. It shouldn't be merged at this stage. I just try to see how much we can re-use the existing code.

saper avatar Sep 28 '24 16:09 saper