Package Details: yubico-authenticator 7.1.0-1

Git Clone URL: https://aur.archlinux.org/yubico-authenticator.git (read-only, click to copy)
Package Base: yubico-authenticator
Description: Yubico Authenticator for Desktop
Upstream URL: https://github.com/Yubico/yubioath-flutter
Licenses: Apache-2.0
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 2
Popularity: 0.166007
First Submitted: 2024-02-20 16:39 (UTC)
Last Updated: 2024-09-25 18:58 (UTC)

Latest Comments

yochananmarqos commented on 2024-05-10 19:59 (UTC)

@WithTheBraid: Proposal: Read the flutter AUR package comments. ;)

WithTheBraid commented on 2024-05-10 19:59 (UTC)

Proposal : Use the system Flutter installation ?

yochananmarqos commented on 2024-02-22 23:43 (UTC)

@NickGeek: I did a little research and found others that have fixed their PATH by doing the same thing you proposed. I've added it.

NickGeek commented on 2024-02-22 23:31 (UTC)

@yochananmarqos: It worked on my machine with the patch I wrote. The colon is needed to distinguish each dir in the PATH.

PATH is first-in-first-served. So if you want the package's flutter install to be selected over any system installs, it needs to be first.

yochananmarqos commented on 2024-02-22 23:17 (UTC) (edited on 2024-02-22 23:22 (UTC) by yochananmarqos)

@NickGeek: Are you sure about that variable? The official docs state:

export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"

EDIT: Maybe it was the colon? I've removed it.

NickGeek commented on 2024-02-22 23:07 (UTC)

@yochananmarqos:

The signature checking implemented in makepkg does not use pacman's keyring, instead relying on the user's keyring.

Yeah, that makes sense.

Can't reproduce, it disables analytics for me.

Ah, it looks like I had a different version of flutter in my path that the buildscript was invoking instead. The PATH override wasn't working.

Here is a patch:

From a117bafd1824250771b96c9cec2ed345afc9c256 Mon Sep 17 00:00:00 2001
From: Nick Webster <nick@nick.geek.nz>
Date: Fri, 23 Feb 2024 12:05:03 +1300
Subject: [PATCH] Use the vendored flutter version instead of a system install

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9154bd0..08d38f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,7 +55,7 @@ build() {
   popd

   export FLUTTER_HOME="$srcdir/flutter"
-  export PATH="${PATH}:${FLUTTER_HOME}/bin:"
+  export PATH="${FLUTTER_HOME}/bin:${PATH}"
   flutter --disable-analytics
   flutter pub get
   flutter build linux
-- 
2.43.2

yochananmarqos commented on 2024-02-22 16:45 (UTC)

@NickGeek:

The signature checking implemented in makepkg does not use pacman's keyring, instead relying on the user's keyring.

-- https://wiki.archlinux.org/title/Makepkg#Signature_checking

Can't reproduce, it disables analytics for me.

NickGeek commented on 2024-02-21 23:14 (UTC)

@yochananmarqos: Ah, it was Dain Nilsson's key. I had added the new one to my pacman keyring but I needed to also add it to my user-level keyring.

However I now am getting an error from flutter during the build step:

Could not find an option named "disable-analytics".


Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

yochananmarqos commented on 2024-02-21 02:06 (UTC)

@NickGeek: Which one? I just added both keys to my keyring earlier.

NickGeek commented on 2024-02-21 01:51 (UTC)

The signing key for this package has expired.