Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-23.11] passage: add additional deps to wrapper #276987

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Bot-based backport to release-23.11, triggered by a label in #276704.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

Ma27 added 2 commits December 26, 2023 22:48
I realized that passage won't work properly in e.g. systemd units as
these don't have `/run/current-system/sw/bin` inside their `PATH` and
thus globally installed things like `coreutils` are not available there.

Added the following tools now:

* `coreutils` for `base64` & `shred` (most notably `passage show`).
* `wl-clipboard` for copying things to the clipboard on Wayland (most
  notable `passage show -c`).
* `gnused` for `sed` (most notably `passage show`).
* `gnugrep` for `grep` (for `passage grep`).
* `findutils` for `find` (most notably `mv`/`cp` - used in
  `reencrypt_path()`).

Decided against adding stuff like `feh`/`gm` for showing a QR code.
These are optional and the script falls back to printing the QR code on
CLI.

(cherry picked from commit f6dcece)
I've been a long-time `pass(1)` user, but I'm trying to get rid of GPG
personally, so this seems to be the way to go.

(cherry picked from commit e663cbe)
@ofborg ofborg bot requested a review from Ma27 December 26, 2023 23:46
@Ma27 Ma27 merged commit 473ed42 into release-23.11 Dec 27, 2023
8 of 9 checks passed
@bjornfor bjornfor deleted the backport-276704-to-release-23.11 branch December 27, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant