rust-u2f
rust-u2f copied to clipboard
Not usable anymore in my IDM
Describe the bug I was using rust-u2f for login into several places. One of it was my Kanidm instance and since last update I get an error message.
This is in Kanidm web interface with Firefox:
JsValue(NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. ) Error occurred client-side.
Also in Chrome it said that the device is not valid.
Logs
systemctl status softu2f.service
● softu2f.service - Software-only U2F Emulation Service
Loaded: loaded (/usr/lib/systemd/system/softu2f.service; static)
Active: active (running) since Tue 2024-02-27 20:42:16 CET; 2min 28s ago
TriggeredBy: ● softu2f.socket
Main PID: 324137 (system-daemon)
Tasks: 34 (limit: 77022)
Memory: 4.3M (peak: 6.2M)
CPU: 16ms
CGroup: /system.slice/softu2f.service
└─324137 /usr/lib/softu2f/system-daemon
Feb 27 20:42:16 z800 systemd[1]: Started Software-only U2F Emulation Service.
Feb 27 20:42:16 z800 system-daemon[324137]: Starting rust-u2f system daemon
Feb 27 20:42:16 z800 system-daemon[324137]: LISTEN_PID = Ok("324137"); LISTEN_FDS = Ok("1")
Feb 27 20:42:16 z800 system-daemon[324137]: Running getpwuid_r for user #1000
Feb 27 20:42:16 z800 system-daemon[324137]: Loading user with uid 1000
Feb 27 20:42:16 z800 system-daemon[324137]: Creating UHID virtual U2F device
Feb 27 20:42:16 z800 system-daemon[324137]: Sending create device input event
systemctl --user status softu2f.service
● softu2f.service - Software-only U2F Emulation Service
Loaded: loaded (/usr/lib/systemd/user/softu2f.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-02-27 20:42:16 CET; 1min 1s ago
Main PID: 324108 (user-daemon)
Tasks: 11 (limit: 77022)
Memory: 3.7M (peak: 4.3M)
CPU: 11ms
CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/softu2f.service
└─324108 /usr/lib/softu2f/user-daemon
Feb 27 20:42:16 z800 user-daemon[324108]: Sending create device request
Feb 27 20:42:16 z800 user-daemon[324108]: UHID device created with id: TODO
Feb 27 20:43:15 z800 user-daemon[324108]: Begin transaction
Feb 27 20:43:15 z800 user-daemon[324108]: Received payload
Feb 27 20:43:15 z800 user-daemon[324108]: RequestMessage::Init
Feb 27 20:43:15 z800 user-daemon[324108]: Get version request
Feb 27 20:43:15 z800 user-daemon[324108]: Begin transaction
Feb 27 20:43:15 z800 user-daemon[324108]: Received payload
Feb 27 20:43:15 z800 user-daemon[324108]: RequestMessage::EncapsulatedRequest
Feb 27 20:43:15 z800 user-daemon[324108]: Get version request
journalctl -u softu2f.service
# same than above
journalctl --user -u softu2f.service
Feb 27 20:42:16 z800 user-daemon[324108]: Starting rust-u2f user daemon
Feb 27 20:42:16 z800 user-daemon[324108]: Storing secrets in your keychain using the D-Bus Secret Service API
Feb 27 20:42:16 z800 user-daemon[324108]: add: epoll_fd=11, fd=13, ev=Event { key: 18446744073709551615, readable: false, writable: false }
Feb 27 20:42:16 z800 user-daemon[324108]: add: epoll_fd=11, fd=12, ev=Event { key: 18446744073709551615, readable: true, writable: false }
Feb 27 20:42:16 z800 user-daemon[324108]: new: epoll_fd=11, event_fd=12, timer_fd=Some(13)
Feb 27 20:42:16 z800 user-daemon[324108]: add: epoll_fd=11, fd=10, ev=Event { key: 0, readable: false, writable: true }
Feb 27 20:42:16 z800 user-daemon[324108]: Poller::wait(_, None)
Feb 27 20:42:16 z800 user-daemon[324108]: wait: epoll_fd=11, timeout=None
Feb 27 20:42:16 z800 user-daemon[324108]: modify: epoll_fd=11, fd=13, ev=Event { key: 18446744073709551615, readable: true, writable: false }
Feb 27 20:42:16 z800 user-daemon[324108]: new events: epoll_fd=11, res=1
Feb 27 20:42:16 z800 user-daemon[324108]: modify: epoll_fd=11, fd=12, ev=Event { key: 18446744073709551615, readable: true, writable: false }
Feb 27 20:42:16 z800 user-daemon[324108]: drop: epoll_fd=11, event_fd=12, timer_fd=Some(13)
Feb 27 20:42:16 z800 user-daemon[324108]: remove: epoll_fd=11, fd=13
Feb 27 20:42:16 z800 user-daemon[324108]: remove: epoll_fd=11, fd=12
Feb 27 20:42:16 z800 user-daemon[324108]: Sending create device request
Feb 27 20:42:16 z800 user-daemon[324108]: UHID device created with id: TODO
Feb 27 20:43:15 z800 user-daemon[324108]: Begin transaction
Feb 27 20:43:15 z800 user-daemon[324108]: Received payload
Feb 27 20:43:15 z800 user-daemon[324108]: RequestMessage::Init
Feb 27 20:43:15 z800 user-daemon[324108]: Get version request
Feb 27 20:43:15 z800 user-daemon[324108]: Begin transaction
Feb 27 20:43:15 z800 user-daemon[324108]: Received payload
Feb 27 20:43:15 z800 user-daemon[324108]: RequestMessage::EncapsulatedRequest
Feb 27 20:43:15 z800 user-daemon[324108]: Get version request