Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce ID length for new credentials #32

Merged
merged 1 commit into from
Oct 5, 2023

Commits on Oct 4, 2023

  1. Reduce ID length for new credentials

    This patch implements the following changes to reduce the ID length for
    new credentials:
    - Rename the old Credential type to FullCredential and introduce a
      StrippedCredential type and a Credential enum to differentiate between
      full and reduced credential data.
    - Flatten the credential data to reduce encoding overhead.
    - Remove the RP id from the credential data to reduce the total length.
    - Add a marker field use_short_id to FullCredential so that we don’t
      change the credential ID for existing RKs.
    
    Fixes: Nitrokey#29
    robin-nitrokey committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    d318c11 View commit details
    Browse the repository at this point in the history