-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
Description
We currently use RSA keys for agent identities in the browser. At the time ed25519 support was not available in the webcrypto API and as such we could not create keys that were non-extractable that we could store in IndexedDB.
However, support for ed25519 is now widely available and we should switch to using this shorter and faster key.
Essentially this line
| const principal = options.principal ?? (await generate()) |
This will mostly involve work in Ucanto, specifically @ucanto/principal to either add new principal type, or adapt the existing ed25519 principal to use web crypto instead of @noble/ed25519. I would prefer the latter, unless it is a significant blocker.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Inbox