Wrong signature - only in codesandbox with v0.33
Closed this issue · 1 comments
joepio commented
In this codesandbox env I'm getting a wrong signature
error when authentication happens. Diving a bit deeper makes it clear that the signToBase64
returns the wrong thing, only in codesandbox with v0.33:
const test = signToBase64(
'test',
'A/HPrEDqn+1KLZiOLwFOzknX3DAX8bbOmVt/+WCkrzM=',
);
test.then(console.log);
Locally: mWh7xwoBFAdj2vKdG4ACq0jGvxUtF8APjWEgHCEDXR1aCc2NBVLEgd9NR2N5hXqdDRZuYrwFKoFE4ZVZT5KJBQ==
Codesandbox (v0.32.2): mWh7xwoBFAdj2vKdG4ACq0jGvxUtF8APjWEgHCEDXR1aCc2NBVLEgd9NR2N5hXqdDRZuYrwFKoFE4ZVZT5KJBQ==
Codesandbox (v0.33.0): CKNpTllw1LZ33Fwm/Dkbx6lpvuQ+8hk3DrtA0BxntHV0AjNdkZvXdxCfhlAsiZ24Ofudcxx4bRylB+sHv3cQDA==
What's going on here?
joepio commented
Not sure what the issue was. Locking the noble dependency fixed the issue, but I can't reproduce it.