#Hardware/Security Keys/Passkeys

1 messages · Page 1 of 1 (latest)

next fiber
#

Oo yes please i would love to be able to use my Yubikey for my modrinth. This is for website I'm going to assume since the launcher doesn't have much to do with accounts? Though I would love them at some point to allow pushing project updates from the launcher lol

keen timber
#

modrinth uses ORY stack for auth iirc?

#

and ORY stack already has webauthn support

amber pollen
keen timber
#

ah

#

yeah ORY is pain

prime parcel
prime parcel
#

going ahead and reviving this, i've started working on this once again

next fiber
prime parcel
#

How are the icons for modrinth setup? i can't seem to import a new icon i've went ahead and added

gray stump
#

add it to the folder, then run pnpm fix and it'll regenerate the file that exports them as components

prime parcel
#

doesn't seem like that works properly, it never modified the file

#

manually throwing the right stuff into there worked though

prime parcel
#

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

amber pollen
#

is it possible to add multiple keys? for example I use both Bitwarden and YubiKey passkeys

prime parcel
#

at the moment no, but i do plan to add support for that

prime parcel
#

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