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

Add getters for OTP and PWS properties #198

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 23, 2021

  1. Extract OTP constants into defines

    This patch extracts the HOTP and TOTP slot count as well as the maximum
    length for the OTP slot name and secret into defines in device_proto.h,
    similar to the PWS constants.
    robinkrahl committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    3e0b949 View commit details
    Browse the repository at this point in the history
  2. Add getters for OTP and PWS properties

    This patch adds getters for the number of PWS, TOTP and HOTP slots on
    the current device and the maximum length of a PWS slot name, login and
    password as well as a OTP slot name and secret.
    
    Fixes Nitrokey#197.
    robinkrahl committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    db324e0 View commit details
    Browse the repository at this point in the history