Commit Graph

8 Commits

Author SHA1 Message Date
Maximilian Bosch
e663cbe65d
passage: add ma27 as maintainer
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.
2023-12-26 12:47:34 +01:00
Maximilian Bosch
f6dcece2d0
passage: add additional deps to wrapper
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.
2023-12-26 12:47:34 +01:00
Peter Hoeg
22369c94e2 passage: add mainProgram 2023-11-11 21:38:06 +01:00
figsoda
f97ce0a9a8 pkgs/tools/security: remove dead code
with the help of deadnix & nil
2023-07-12 14:35:00 -04:00
phaer
07f072968c passage: fix getopt path on darwin
Not entirely sure what was wrong about the former approach tbh, but
the difference is that this patch actually replaces the placeholder
in the patch and builds a working executable on my m2 macbook air.
2023-07-04 12:26:31 +02:00
Paul Haerle
f3a2296445
passage: use getopt from nix on darwin (#241293)
* passage: use getopt from nix on darwin

This removes an ugly hack from upstream which hard-codes a bunch of
paths to find gnu-getopt (as opposed to darwins getopt in
/usr/bin/getopt).

This lets nix-built passage fail on systems which don't have one of
those already installed (i.e. from homebrew).

As upstream seemingly doesn't provide a way to override this easily yet,
we do it ourselves.

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-07-04 10:14:55 +03:00
Dmitry Bogatov
96100e7675 passage: add missing dependency on tree(1)
Dependency on tree(1) is used to pretty-print list of all stored passwords.
Techically, is not needed to fetch or store password by its name, but without
it "passage" without arguments would print error.
2023-03-17 21:39:18 -04:00
Dmitry Bogatov
64da60d311 passage: init at unstable-2022-05-01 2022-05-29 00:19:34 -04:00