danstiner / rust-u2f

U2F security token emulator written in Rust
Apache License 2.0
292 stars 44 forks source link

Fedora 39 - No prebuild package #125

Open powellnorma opened 1 month ago

powellnorma commented 1 month ago

Hey, it looks like the last build is for fedora 37 https://packagecloud.io/danstiner/softu2f

Would be awesome if we'd get a prebuild for newer fedora versions, thank you!

(Similar to https://github.com/danstiner/rust-u2f/issues/26#issue-339754879)

powellnorma commented 1 month ago

As a workaround I tried to install the 37 versions instead (by editing /etc/yum.repos.d/danstiner_softu2f.repo). The installation worked fine, but now I am also hit by #123:

$ systemctl status softu2f
× softu2f.service - Software-only U2F Emulation Service
     Loaded: loaded (/usr/lib/systemd/user/softu2f.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Sun 2024-07-21 23:03:55 CEST; 2s ago
   Duration: 7ms
    Process: 93472 ExecStart=/usr/libexec/softu2f/user-daemon (code=exited, status=1/FAILURE)
   Main PID: 93472 (code=exited, status=1/FAILURE)
        CPU: 7ms

Jul 21 23:03:55 il systemd[1780]: Started softu2f.service - Software-only U2F Emulation Service.
Jul 21 23:03:55 il user-daemon[93472]: Jul 21 23:03:55.292 INFO Starting virtual Universal 2nd Factor device user daemon, version: 0.4.2
Jul 21 23:03:55 il user-daemon[93472]: Error: Io(Custom { kind: PermissionDenied, error: "Expected socket peer to be running as root user" })
Jul 21 23:03:55 il systemd[1780]: softu2f.service: Main process exited, code=exited, status=1/FAILURE
Jul 21 23:03:55 il systemd[1780]: softu2f.service: Failed with result 'exit-code'
powellnorma commented 1 month ago

error: "Expected socket peer to be running as root user"

Looks like this already got fixed in master: https://github.com/danstiner/rust-u2f/issues/114#issuecomment-1722134477 But the fedora prebuilds haven't been updated yet. Guess I will try to build it myself for now