Closed seia-soto closed 2 years ago
- const raw = paseto.keyObjectToBytes(keyStore).toString('hex')
+ const raw = paseto.keyObjectToBytes(key).toString('hex')
Sorry, I misused the library without checking things again to avoid meaningless time-consuming even sample code didn't work at the time. I hope you not to feel uncomfortable with this issue.
Thank you and take care.
What happened?
Tried to import existing key but type error occurs.
Version
^3.0.1
Node.js Version
v16.5.0 (arm64)
Code to reproduce