Uploaded image for project: 'Community Linux Engineering'
  1. Community Linux Engineering
  2. CLE-3316

[main] Doc issue in file modules/ROOT/pages/using-yubikeys.adoc

SetAsigneesSync from "Extern...update-metadata-from-f...XMLWordPrintable

    • rhel-cle-nucleus

      It seems the wrong file is mentioned for registering the key with the user in the context of yubico cloud login.

      When using the file `~/.yubico/authorized_keys` to add `<username>:<key-id>`, I get the following error in debug mode:
      ```
      debug: pam_yubico.c:1009 (pam_sm_authenticate): pam_yubico version: 2.27
      debug: pam_yubico.c:1024 (pam_sm_authenticate): get user returned: <user>
      debug: pam_yubico.c:221 (authorize_user_token): Dropping privileges
      debug: pam_yubico.c:1149 (pam_sm_authenticate): No tokens found for user
      debug: pam_yubico.c:1337 (pam_sm_authenticate): done. [User not known to the underlying authentication module]
      ```

      Whereas following the instructions from https://github.com/Yubico/yubico-pam?tab=readme-ov-file#individual-authorization-mapping-by-user, the login succeeds. It seems the default file is `/.yubico/authorized_yubikeys` and not `/.yubico/authorized_keys`.

              Unassigned Unassigned
              cle_bot CLE bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: