age-plugin-yubikey-git

maintainer hellios · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from the project's own git repository on GitHub, which is a normal practice for -git packages; the source is not a prebuilt binary, and the code is openly reviewable, making the risk low despite the untrusted host and skipped checksum.

Triggered rules

LOW Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own git repository on GitHub, which is a normal practice for -git packages; the source is not a prebuilt binary, and the code is openly reviewable, making the risk low despite the untrusted host and skipped checksum.

PKGBUILD

1# Maintainer: Caleb Maclennan <caleb@alerque.com>
2# Contributor: Daniel Peukert <daniel@peukert.cc>
3
4# This package tracks the upstream main branch instead of a tagged release
5# because P-256 (p256) support is only available on main and has not yet
6# shipped in a release (0.5.1). P-256 support enables using the YubiKey
7# without requiring the plugin to be installed for encryption (it is only
8# needed for decryption). Switch back to a tagged release once main is
9# released with this feature.
10
11_pkgname=age-plugin-yubikey
12pkgname=age-plugin-yubikey-git
13pkgver=0.5.1.r24.gcafbc75
14pkgrel=1
15pkgdesc='Yubikey plugin for age'
16arch=(x86_64 i686 arm armv6h armv7h aarch64)
17url="https://github.com/str4d/$_pkgname"
18license=(Apache-2.0 MIT)
19depends=(glibc
20 libgcc
21 pcsclite)
22makedepends=(cargo
23 git)
24optdepends=('age: for use with age'
25 'rage-encryption: for use with rage')
26provides=("$_pkgname")
27conflicts=("$_pkgname")
28source=("$_pkgname::git+$url.git#branch=main")
29sha256sums=('SKIP')
30
31pkgver() {
32 cd "$_pkgname"
33 git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
34 printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
35}
36
37prepare() {
38 cd "$_pkgname"
39 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
40}
41
42build() {
43 cd "$_pkgname"
44 cargo build --frozen --release --all-features
45}
46
47check() {
48 cd "$_pkgname"
49 cargo test --frozen --all-features
50}
51
52package() {
53 cd "$_pkgname"
54 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"
55 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-MIT
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 21:35:42 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion