You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a Go version of the age-tlock plugin and I think it'd be great to have both implementation rely on the same encoding and formats. Do you want to specify that the length is encoded too or do you want to only have the raw string following the value 1 ?
The text was updated successfully, but these errors were encountered:
The current format definition doesn't seem to conform to what is done in practice:
tlock-rs/age-plugin-tlock/README.md
Lines 134 to 139 in 8f3b313
doesn't says so, but actually bincode is adding the length of the string, prepended in front of the string:
https://github.com/bincode-org/bincode/blob/trunk/docs/spec.md#collections
As can be seen in this playground link:
https://go.dev/play/p/-CoBESeIQr3
I'm currently working on a Go version of the age-tlock plugin and I think it'd be great to have both implementation rely on the same encoding and formats. Do you want to specify that the length is encoded too or do you want to only have the raw string following the value
1
?The text was updated successfully, but these errors were encountered: