From 583146c2efa832cf1b32abc027ce2a9aea60ff97 Mon Sep 17 00:00:00 2001 From: Dominik Schulz Date: Tue, 14 Jun 2022 22:31:44 +0200 Subject: [PATCH] Use packages.gopass.pw RELEASE_NOTES=[ENHANCEMENT] Use packages.gopass.pw for APT packages Fixes #1760 Signed-off-by: Dominik Schulz --- .github/workflows/autorelease.yml | 2 +- .gitignore | 1 + docs/setup.md | 20 +++++++++++++++++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autorelease.yml b/.github/workflows/autorelease.yml index b79ae9b55f..4beaf70a5e 100644 --- a/.github/workflows/autorelease.yml +++ b/.github/workflows/autorelease.yml @@ -77,7 +77,7 @@ jobs: name: "Upload deb files to apt hosting" run: | for D in dist/*.deb; do - curl -H"X-Filename: ${D}" -H"X-Apikey: ${APIKEY}" -XPOST --data-binary @$D http://packages.gauner.org/repos/gopass/upload + curl -H"X-Filename: ${D}" -H"X-Apikey: ${APIKEY}" -XPOST --data-binary @$D https://packages.gopass.pw/repos/gopass/upload done env: APIKEY: ${{ secrets.APT_APIKEY }} diff --git a/.gitignore b/.gitignore index 56318ad054..e11e7d39b2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ dev.sh !pkg/gopass/ coverage.out coverage-all.* +.vscode/ # Profiling *.out diff --git a/docs/setup.md b/docs/setup.md index 3c2e21d164..d366029008 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -177,8 +177,22 @@ a package named `gopass` that is not related to this project in any way. It's a similar tool with a completely independent implementation and feature set. We are aware of this issue but can not do anything about it. -When installing on Ubuntu or Debian you can either download the `deb` package -and [install manually or build from source](#installing-from-source). +When installing on Ubuntu or Debian you can either download the `deb` package, +[install manually or build from source](#installing-from-source) or use our APT repository. + +```bash +$ curl http://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg +$ cat << EOF | sudo tee /etc/apt/sources.list.d/gopass.sources +Types: deb +URIs: https://packages.gopass.pw/repos/gopass +Suites: stable +Architectures: all amd64 arm64 armhf +Components: main +Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg +EOF +$ sudo apt update +$ sudo apt install gopass gopass-archive-keyring +``` #### Manual download @@ -218,11 +232,11 @@ yum install gopass ``` ### Arch Linux + ```bash pacman -S gopass ``` - ### Windows **WARNING**: Windows is not yet officially supported. We try to support it in the future. These are steps are only meant to help you setup gopass on Windows so you can provide us with feedback about the current state of our Windows support.