Skip to content

libnitrokey error handling

Daniel Müller edited this page Jan 9, 2019 · 12 revisions

This page is intended to evaluate the error messages returned by the libnitrokey commands used in the nitrocli commands. Commands that are checked in the list have been evaluated.

  • status

  • lock

  • config

    • get
    • set
  • storage

    • open
    • close
    • status
  • otp

    • get
    • $ nitrocli otp get 12
      > Could not generate OTP: The given OTP slot is not programmed
    • $ nitrocli otp get 255
      > Could not generate OTP: The given slot is invalid
    • -a/--algorithm is under our control
    • no libnitrokey errors triggerable through -a totp -t
    • set
    • status
    • clear
  • pin

    • clear
    • set
    • unblock
  • pws

    • get
    • set
    • status
    • clear

Clone this wiki locally