| ▲ | lionkor a day ago | |||||||||||||
Maybe somewhere in the code it says
instead of | ||||||||||||||
| ▲ | Athas 17 hours ago | parent | next [-] | |||||||||||||
This is the C explanation perspective, but a similar thing could happen in Python, if you write `s[0]` instead of `s`, perhaps due to a refactoring that changes an array of keys to a single key. This is because Python does not distinguish characters from strings. (Not an indictment of Python; just another proposal for how this could happen, and I would say it is more likely to use Python than C in some hacked-up signing script.) | ||||||||||||||
| ||||||||||||||
| ▲ | motionlessveloc 20 hours ago | parent | prev [-] | |||||||||||||
This should be higher. They mentioned a "coding error", and getting valid keys from the HSM and then truncating the string to a single byte through buggy array handling (see above) is exactly how you'd end up with a bunch of integers in the range 0-255. | ||||||||||||||