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
12
pkgname=age-plugin-yubikey-git
13
pkgver=0.5.1.r24.gcafbc75
14
pkgrel=1
15
pkgdesc='Yubikey plugin for age'
16
arch=(x86_64 i686 arm armv6h armv7h aarch64)
17
url="https://github.com/str4d/$_pkgname"
18
license=(Apache-2.0 MIT)
19
depends=(glibc
20
libgcc
21
pcsclite)
22
makedepends=(cargo
23
git)
24
optdepends=('age: for use with age'
25
'rage-encryption: for use with rage')
26
provides=("$_pkgname")
27
conflicts=("$_pkgname")
28
source=("$_pkgname::git+$url.git#branch=main")
29
sha256sums=('SKIP')
30
31
pkgver() {
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
37
prepare() {
38
cd "$_pkgname"
39
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
40
}
41
42
build() {
43
cd "$_pkgname"
44
cargo build --frozen --release --all-features
45
}
46
47
check() {
48
cd "$_pkgname"
49
cargo test --frozen --all-features
50
}
51
52
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |