From ec47fa32d6d6e732c4e2134739a5bde5cf1c875b Mon Sep 17 00:00:00 2001 From: Csanad Beres Date: Mon, 12 Jun 2023 22:17:43 +0200 Subject: [PATCH 1/2] add note on installing hopenpgp-tools on Debian 12 --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index cf92f75..79182bc 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,25 @@ $ sudo apt update ; sudo apt -y upgrade $ sudo apt -y install wget gnupg2 gnupg-agent dirmngr cryptsetup scdaemon pcscd secure-delete hopenpgp-tools yubikey-personalization ``` +**Note** +As of 2023 June, the `hopenpgp-tools` is not part of the latest Debian 12 stable package repositories. + +To install it, go to [https://packages.debian.org/sid/hopenpgp-tools](https://packages.debian.org/sid/hopenpgp-tools) to select your architecture and then an ftp server. + +Edit `/etc/apt/sources.list` and add the ftp server: +``` +deb http://ftp.debian.org/debian sid main +``` + +and then add this to `/etc/apt/preferences` (or a fragment, e.g. `/etc/apt/preferences.d/00-sid`) so that APT still prioritizes packages from the stable repository over sid. + +``` +Package: * +Pin: release n=sid +Pin-Priority: 10 +``` + + **Note** Live Ubuntu images [may require modification](https://github.com/drduh/YubiKey-Guide/issues/116) to `/etc/apt/sources.list` and may need additional packages: ```console From d4b3e5215b736827fbe32171bf304ad5b9736f84 Mon Sep 17 00:00:00 2001 From: Csanad Beres Date: Fri, 18 Aug 2023 19:21:00 +0200 Subject: [PATCH 2/2] add note for installing yubikey-manager on Debian 12 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 79182bc..85bce97 100644 --- a/README.md +++ b/README.md @@ -254,6 +254,9 @@ $ sudo service pcscd start $ ~/.local/bin/ykman openpgp info ``` +**Note** Debian 12 doesn't recommend installing non-Debian packaged Python applications globally. But fortunately, it isn't even necessary as `yubikey-manager` is available in the stable main repository: +`$ sudo apt install yubikey-manager`. + ## Fedora ```console