completionId: cgen-431719d7850f496ca6dedea350449b37
cgen-431719d7850f496ca6dedea350449b37
This commit is contained in:
parent
4ce59c891b
commit
a5f4eabd3d
1 changed files with 3 additions and 3 deletions
|
|
@ -53,9 +53,9 @@ export default function handler(req: VercelRequest, res: VercelResponse) {
|
|||
// Create public key object for Ed25519
|
||||
const publicKey = createPublicKey({
|
||||
key: publicKeyBuffer,
|
||||
format: "raw",
|
||||
type: "ed25519",
|
||||
});
|
||||
format: "raw" as any,
|
||||
type: "ed25519" as any,
|
||||
} as any);
|
||||
|
||||
// Verify the signature using Ed25519
|
||||
const isValid = verify(
|
||||
|
|
|
|||
Loading…
Reference in a new issue