swift impl

This commit is contained in:
Hailey
2024-04-15 00:37:12 -07:00
parent 2ada0cbd0d
commit 2c1b3709af
7 changed files with 62 additions and 28 deletions
+2 -8
View File
@@ -64,17 +64,11 @@ function HomeScreenReady({
},
{
sub: 'test',
iat: Math.floor(Date.now() / 1000),
},
)
console.log(jwt)
// console.log('public', key.publicJwk)
// const jwt = await key.createJwt(
// {alg: 'ES256', kid: key.kid},
// {sub: 'test'},
// )
// console.log(jwt)
const verified = await key.verifyJwt(jwt)
})()
}, [])