Deserialize the RSA modulus with standard base64
It was decided to use standard base64 instead of base64-url because that's what the Go implementation did by default for a []byte. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
38fdf9b10d
commit
ef0489d9d5
|
@ -1185,8 +1185,8 @@ enum PublicKey {
|
||||||
hashing_algo: HashAlgo,
|
hashing_algo: HashAlgo,
|
||||||
exponent: u32,
|
exponent: u32,
|
||||||
#[serde(
|
#[serde(
|
||||||
deserialize_with = "deserialize_as_base64_url_no_pad",
|
deserialize_with = "deserialize_as_base64",
|
||||||
serialize_with = "serialize_as_base64_url_no_pad"
|
serialize_with = "serialize_as_base64"
|
||||||
)]
|
)]
|
||||||
modulus: Vec<u8>,
|
modulus: Vec<u8>,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue