Package Details: softu2f-git 0.4.2+9.ga19b0084d6-1

Git Clone URL: https://aur.archlinux.org/softu2f-git.git (read-only, click to copy)
Package Base: softu2f-git
Description: Software U2F HID token daemon (rust-u2f) (git version)
Upstream URL: https://github.com/danstiner/rust-u2f
Conflicts: softu2f
Provides: softu2f
Submitter: 1ace
Maintainer: grdgkjrpdihe (grawity)
Last Packager: 1ace
Votes: 1
Popularity: 0.31
First Submitted: 2022-07-06 16:34 (UTC)
Last Updated: 2022-07-07 11:30 (UTC)

Latest Comments

kevku commented on 2024-10-09 09:30 (UTC)

updated pkgbuild to disable lto & replace attestation certificate https://termbin.com/t8av

kousu commented on 2023-08-30 12:48 (UTC) (edited on 2023-08-30 13:11 (UTC) by kousu)

Currently the build is failing for me due to https://github.com/danstiner/rust-u2f/issues/114:

$ rustc --version
rustc 1.72.0 (5680fa18f 2023-08-23) (Arch Linux rust 1:1.72.0-1)
$ makepkg -s
==> Making package: softu2f-git 0.4.2+9.ga19b0084d6-1 (Wed 30 Aug 2023 08:43:58 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning rust-u2f git repo...
Cloning into bare repository '/home/kousu/Downloads/softu2f-git/rust-u2f'...
remote: Enumerating objects: 5031, done.
remote: Counting objects: 100% (1665/1665), done.
remote: Compressing objects: 100% (696/696), done.
remote: Total 5031 (delta 1144), reused 1366 (delta 957), pack-reused 3366
Receiving objects: 100% (5031/5031), 1.11 MiB | 3.53 MiB/s, done.
Resolving deltas: 100% (3276/3276), done.
  -> Found softu2f_system.preset
==> Validating source files with sha256sums...
    rust-u2f ... Skipped
    softu2f_system.preset ... Passed
==> Extracting sources...
  -> Creating working copy of rust-u2f git repo...
Cloning into 'rust-u2f'...
done.
==> Starting prepare()...
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
  Downloaded rand v0.4.6
  Downloaded tempdir v0.3.7
  Downloaded remove_dir_all v0.5.3
  Downloaded tokio-stream v0.1.8
  Downloaded 4 crates (127.6 KB) in 0.27s
==> Starting pkgver()...
==> Updated version: softu2f-git 0.4.2+13.gda1a256e80-1
==> Starting build()...
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
   Compiling libc v0.2.123
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling autocfg v1.1.0
   Compiling syn v1.0.103
   Compiling cfg-if v1.0.0
   Compiling memchr v2.4.1
   Compiling log v0.4.16
   Compiling serde_derive v1.0.136
   Compiling quote v1.0.18
   Compiling serde v1.0.136
   Compiling futures-core v0.3.21
   Compiling lazy_static v1.4.0
   Compiling pin-project-lite v0.2.8
   Compiling version_check v0.9.4
   Compiling typenum v1.15.0
   Compiling once_cell v1.10.0
   Compiling generic-array v0.14.5
   Compiling num-traits v0.2.14
   Compiling futures-io v0.3.21
   Compiling futures-task v0.3.21
   Compiling futures-channel v0.3.21
   Compiling bitflags v1.3.2
   Compiling futures-sink v0.3.21
   Compiling slab v0.4.6
   Compiling socket2 v0.4.4
   Compiling futures-util v0.3.21
   Compiling num-integer v0.1.44
   Compiling pin-utils v0.1.0
   Compiling scopeguard v1.1.0
   Compiling pkg-config v0.3.25
   Compiling ppv-lite86 v0.2.16
   Compiling smallvec v1.8.0
   Compiling tracing-core v0.1.25
   Compiling memoffset v0.6.5
   Compiling lock_api v0.4.7
   Compiling parking_lot_core v0.9.2
   Compiling subtle v2.4.1
   Compiling aho-corasick v0.7.18
   Compiling cc v1.0.73
   Compiling glob v0.3.0
   Compiling regex-syntax v0.6.25
   Compiling clang-sys v1.3.1
   Compiling num_cpus v1.13.1
   Compiling getrandom v0.2.6
   Compiling byteorder v1.4.3
   Compiling bytes v1.1.0
   Compiling crossbeam-utils v0.8.8
   Compiling regex v1.5.5
   Compiling rand_core v0.6.3
   Compiling parking_lot v0.12.0
   Compiling mio v0.8.2
   Compiling thiserror-impl v1.0.30
   Compiling futures-macro v0.3.21
   Compiling tracing-attributes v0.1.20
   Compiling thiserror v1.0.30
   Compiling tokio-macros v1.7.0
   Compiling tracing v0.1.33
   Compiling signal-hook-registry v1.4.0
   Compiling minimal-lexical v0.2.1
   Compiling nom v7.1.1
   Compiling tokio v1.17.0
   Compiling futures-executor v0.3.21
   Compiling rand_chacha v0.3.1
   Compiling libloading v0.7.3
   Compiling toml v0.5.8
   Compiling bindgen v0.61.0
   Compiling either v1.6.1
   Compiling which v4.2.5
   Compiling proc-macro-crate v1.1.3
   Compiling rand v0.8.5
   Compiling futures v0.3.21
   Compiling cexpr v0.6.0
   Compiling pin-project-internal v1.0.10
   Compiling openssl-sys v0.9.72
   Compiling crossbeam-epoch v0.9.8
   Compiling shlex v1.1.0
   Compiling async-trait v0.1.53
   Compiling rustc-hash v1.1.0
   Compiling lazycell v1.3.0
   Compiling proc-macro-hack v0.5.19
   Compiling cache-padded v1.2.0
   Compiling peeking_take_while v0.1.2
   Compiling concurrent-queue v1.2.2
   Compiling pin-project v1.0.10
   Compiling crypto-common v0.1.3
   Compiling block-buffer v0.10.2
   Compiling num-bigint v0.4.3
   Compiling crossbeam-queue v0.3.5
   Compiling static_assertions v1.1.0
   Compiling waker-fn v1.1.0
   Compiling parking v2.0.0
   Compiling cpufeatures v0.2.2
   Compiling fastrand v1.7.0
   Compiling futures-lite v1.12.0
   Compiling digest v0.10.3
   Compiling ring v0.16.20
   Compiling getrandom v0.1.16
   Compiling tower-layer v0.3.1
   Compiling foreign-types-shared v0.1.1
   Compiling hex v0.4.3
   Compiling openssl v0.10.38
   Compiling tower-service v0.3.1
   Compiling tower v0.4.12
   Compiling foreign-types v0.3.2
   Compiling pkg-version-impl v0.1.1
   Compiling crossbeam-deque v0.8.1
   Compiling uhid-sys v1.0.0 (/home/kousu/Downloads/softu2f-git/src/rust-u2f/linux/uhid-sys)
   Compiling regex-automata v0.1.10
   Compiling crossbeam-channel v0.5.4
   Compiling enumflags2_derive v0.7.4
   Compiling nix v0.23.1
error: failed to run custom build command for `uhid-sys v1.0.0 (/home/kousu/Downloads/softu2f-git/src/rust-u2f/linux/uhid-sys)`

Caused by:
  process didn't exit successfully: `/home/kousu/Downloads/softu2f-git/src/rust-u2f/target/release/build/uhid-sys-9282f60d1c53cfe9/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at '"__atomic_wide_counter_struct_(unnamed_at_/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident', /home/kousu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/fallback.rs:756:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

hammer commented on 2022-08-20 06:07 (UTC)

Tried it on a fresh virtual machine, one of the build target test-authenticator is used to test the two versions of softu2f (You can clone upstream repo and build to obtain it). Definitely softu2f works, but this doesn't. Submitted a issue to the upstream repo.

hammer commented on 2022-08-20 05:08 (UTC) (edited on 2022-08-20 05:09 (UTC) by hammer)

Hi, you guys can really make it work? I successfully installed and ran the daemons, but security key cannot be recognized, while softu2f works on my laptop. Tried rust 1.63, 1.62 and 1.61, none of them help.