Skip to content

Persistence of public key #294

Description

@agesagem

There is no obvious way to store keys on the server.
Looking at:
/main/examples/server/server/server.py
The credentials variable holds the keys from registration for the logins later.
This works only in the demo app, since in a real app this has to be stored on the server and therefore serialized to json/base64.
The comments in there already says so.

But looking at how the underlying AttestedCredentialData actually is set up, I do not see how this is actually possible.
No dict, frozen... - seems impossible.
Even thought it says in webauthn.py this can be serialized, a test with a dict() of the AttestedCredentialData var from credentials fails.

Can someone please share how this is supposed to be done?

Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions