← Back to context

Comment by lionkor

9 hours ago

Maybe somewhere in the code it says

    key_string = to_string(*key);

instead of

    key_string = to_string(key);

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.