#Hardware/Security Keys/Passkeys
1 messages · Page 1 of 1 (latest)
that's what we initially tried to do but it ended up being too much of a pain, much easier and much cheaper to do auth in-house
I don't think ORY can help me in any way
going ahead and reviving this, i've started working on this once again
I appreciate the work you are doing 🙂

How are the icons for modrinth setup? i can't seem to import a new icon i've went ahead and added
add it to the folder, then run pnpm fix and it'll regenerate the file that exports them as components
doesn't seem like that works properly, it never modified the file
manually throwing the right stuff into there worked though
well i think i've reached a good point for today, went ahead and also made a draft PR https://github.com/modrinth/code/pull/3993
it was not as hard as i originally thought it would've been, but the RR really struggles with the monorepo so i had to spend a lot of time waiting for actual IDE syntax highlighting and such
is it possible to add multiple keys? for example I use both Bitwarden and YubiKey passkeys
at the moment no, but i do plan to add support for that
Back to working on this, trying to figure out the best way to actually serialize the keys to store in the db
what's basically needed is Map<String, Passkey (json)>
{
"My Key": {
"cred": {
"cred": {
"key": {
"EC_EC2": {
"x": "[redacted]",
"y": "[redacted]",
"curve": "SECP256R1"
}
},
"type_": "ES256"
},
"counter": 4,
"cred_id": "[redacted]",
"extensions": {
"appid": "NotRequested",
"cred_props": "Ignored",
"cred_protect": {
"Set": "userVerificationRequired"
},
"hmac_create_secret": "NotRequested"
},
"transports": null,
"attestation": {
"data": "None",
"metadata": "None"
},
"backup_state": false,
"user_verified": true,
"backup_eligible": false,
"attestation_format": "none",
"registration_policy": "required"
}
}
}
checkmate