[identity] Keypair: Make the player's ECDSA P-256 key on the device, private key non-extractable

This commit is contained in:
2026-11-02 00:20:57 +01:00
parent 6fee00f5b3
commit d091c31b49
4 changed files with 109 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "@rosea/identity",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Keypair lifecycle. The ONLY module that creates key material (CLAUDE.md §2).",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json",
"test": "vitest run --reporter=verbose"
},
"dependencies": {},
"devDependencies": {
"typescript": "5.9.3",
"vitest": "3.2.7"
}
}