NixOS Wayland (Hyprland) Fingerprint Not Working

crem
crem
Community Member

My issues are almost identical to these two threads:

  1. https://1password.community/discussion/145440/issues-with-system-authentication-on-arch-via-fprint?utm_source=community-search&utm_medium=organic-search&utm_term=hyprland
  2. https://1password.community/discussion/136009/issue-with-system-authentication-service

When I click on the fingerprint icon it behaves as if I was entering the wrong password (the window shakes a bit).

I have used all the necessary configuration after reading several threads and the NixOS start guide.

Here is a link to my configuration file: https://github.com/ItsCrem/crem-nixos/blob/d6dd1109fc7c54fc41d1e51007618a1316e8e495/hosts/brook/configuration.nix#L86

Here is a snippet:

 # 1password requires nixos level https://1password.community/discussion/comment/655813/#Comment_655813
  programs._1password = {
    enable = true;
    package = pkgs.unstable._1password;
  };
  programs._1password-gui = {
    package = pkgs.unstable._1password-gui;
    enable = true;
    polkitPolicyOwners = [ "crem" ];
  };
  # 1password make fingerprintn auth work
  #security.pam.services.kwallet.enableKwallet = true;
  security.polkit.enable = true;

I have also tried using kwallet as well but that didn't work either.

Please let me know if I can provide any further information.


1Password Version: 8.10.36
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

Comments

  • crem
    crem
    Community Member

    I am having issues signing in with my fingerprint on NixOS running hyprland.

    My fingerprint works with sudo in kitty. However, when I press the fingerprint button to attempt to do the authenticate. The 1Password window moves like an incorrect password and then does nothing. I tried just putting my fingerprint on the scanner why the login screen was up as well and that didn't work.

    I have read numerous threads and the official 1Password NixOS documentation. This is my configuration - https://github.com/ItsCrem/crem-nixos/blob/d6dd1109fc7c54fc41d1e51007618a1316e8e495/hosts/brook/configuration.nix#L86

      # 1password requires nixos level https://1password.community/discussion/comment/655813/#Comment_655813
      programs._1password = {
        enable = true;
        package = pkgs.unstable._1password;
      };
      programs._1password-gui = {
        package = pkgs.unstable._1password-gui;
        enable = true;
        polkitPolicyOwners = [ "crem" ];
      };
      # 1password make fingerprintn auth work
      #security.pam.services.kwallet.enableKwallet = true;
      security.polkit.enable = true;
    

    I also tried with the kwallet option that was specified in another thread but that didn't work either.

    Not sure if these logs will be beneficial at all but here you go:

    INFO  2024-08-19T11:40:19.428 tokio-runtime-worker(ThreadId(9)) [1P:app/op-app/src/app/backend/lock.rs:131] Lock state changed: Locked
    INFO  2024-08-19T11:40:19.428 tokio-runtime-worker(ThreadId(9)) [1P:app/op-app/src/app/backend/lock.rs:159] Locked. Reason: Manual.
    ERROR 2024-08-19T11:40:19.430 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/op-ui/src/item_action/mod.rs:169] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.430 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/ui/op-main-menu/src/lib.rs:1573] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(93)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(90)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(88)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(91)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(89)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:117] Sys auth status Ready
    ERROR 2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/op-ui/src/item_action/mod.rs:169] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/ui/op-main-menu/src/lib.rs:1573] ItemWithIdNotFound(677)
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(93)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:117] Sys auth status Ready
    INFO  2024-08-19T11:40:24.334 tokio-runtime-worker(ThreadId(13)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:24.334 tokio-runtime-worker(ThreadId(91)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:25.087 tokio-runtime-worker(ThreadId(13)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    

    Please let me know if there is anything else I can provide.


    1Password Version: 8.10.36
    Extension Version: Not Provided
    OS Version: Not Provided
    Browser: Not Provided

  • crem
    crem
    Community Member

    Here is my following configuration that concerns 1Password:

     # 1password requires nixos level https://1password.community/discussion/comment/655813/#Comment_655813
      programs._1password = {
        enable = true;
        package = pkgs.unstable._1password;
      };
      programs._1password-gui = {
        package = pkgs.unstable._1password-gui;
        enable = true;
        polkitPolicyOwners = [ "crem" ];
      };
      # 1password make fingerprintn auth work
      #security.pam.services.kwallet.enableKwallet = true;
      security.polkit.enable = true;
    

    I have tried enabling Kwallet as well but that didn't work either.

    Here is a link to the the configuration file on GitHub: https://github.com/ItsCrem/crem-nixos/blob/d6dd1109fc7c54fc41d1e51007618a1316e8e495/hosts/brook/configuration.nix#L86

    The fingerprint button appears on the 1Password Authentication screen but when I click the button nothing happens. It makes the animation like there is an incorrect password but then nothing appears.

    Not sure if these logs will be useful:

    INFO  2024-08-19T11:40:19.428 tokio-runtime-worker(ThreadId(9)) [1P:app/op-app/src/app/backend/lock.rs:159] Locked. Reason: Manual.
    ERROR 2024-08-19T11:40:19.430 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/op-ui/src/item_action/mod.rs:169] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.430 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/ui/op-main-menu/src/lib.rs:1573] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(93)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(90)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(88)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    ERROR 2024-08-19T11:40:19.433 tokio-runtime-worker(ThreadId(91)) [1P:ffi/op-core-node/src/lib.rs:503] CollectionNotFound
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(89)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:19.437 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:117] Sys auth status Ready
    ERROR 2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/op-ui/src/item_action/mod.rs:169] ItemWithIdNotFound(677)
    ERROR 2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(86)) [1P:/builds/dev/core/core/ui/op-main-menu/src/lib.rs:1573] ItemWithIdNotFound(677)
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(93)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:19.541 tokio-runtime-worker(ThreadId(15)) [1P:app/op-app/src/app/backend/lock_screen.rs:117] Sys auth status Ready
    INFO  2024-08-19T11:40:24.334 tokio-runtime-worker(ThreadId(13)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:24.334 tokio-runtime-worker(ThreadId(91)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:25.087 tokio-runtime-worker(ThreadId(13)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:25.087 tokio-runtime-worker(ThreadId(86)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    INFO  2024-08-19T11:40:25.791 tokio-runtime-worker(ThreadId(12)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    INFO  2024-08-19T11:40:25.791 tokio-runtime-worker(ThreadId(88)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
    WARN  2024-08-19T11:40:25.805 tokio-runtime-worker(ThreadId(12)) [1P:app/op-app/src/app/backend/lock_screen.rs:573] failed unlock count was too high, resetting state
    INFO  2024-08-19T11:40:53.765 tokio-runtime-worker(ThreadId(11)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true
    

    Please let me know if there is any additional information I can provide! :)


    1Password Version: Not Provided
    Extension Version: Not Provided
    OS Version: Not Provided
    Browser: Not Provided