commit 06fcf887060c1a9c3b8a88b4c85ad687afe4f444
parent e8fade9dc834eef0c78914959089829e8f03dffc
Author: finwo <finwo@pm.me>
Date: Sun, 14 Sep 2025 00:44:00 +0200
Store the device name with it's certificate
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/packages/app/src/component/screen-account-create.tsx b/packages/app/src/component/screen-account-create.tsx
@@ -86,6 +86,7 @@ export const AccountCreateScreen = {
iss: rootCertificateId,
sub: deviceCertificateId,
acc: vnode.state.accountId,
+ name: vnode.state.deviceName,
roles: ['device'],
}));
const deviceCertificateBody = base64url.encode(deviceKey.publicKey);