Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.17 KB

TODO.md

File metadata and controls

29 lines (25 loc) · 1.17 KB

Uses: pam_sm_authenticate()

Fixme:

  • write test code
  • option for bitid uri generation

Config file:

  • Various example pam.d config files
  • Install /etc/pam.d/bitid-auth file, root must use @include instead.
  • [c] prompt allows retry, but data is not accepted as input. - this is other modules enabled calling pam_get_user(). Disable them in pam config file. - possibly set some variable to help reset it.
  • setup pam.d/login so it falls back to default login.

Later:

Tasks completed:

  • cleanup prompt code, simplify
  • when enabled pam modules: pam_securetty.so pam_nologin.so cause username login prompt instead of bitcoin after failed input attempt.
  • test by having bitid.access file missing
  • using various input string sizes, past max input.
  • use more complex nonce that includes 16 bytes from random() + time().