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
Trezor GPG Agent #32773
Trezor GPG Agent #32773
Conversation
trezor-agent now splits agents into different packages. This commit still points trezor_agent to the trezor-specific agent to maintain backwards compatibility. We should probably abstract this a bit into ledgernano_agent, keepkey_agent, etc
Needed for the system service
Allows you to use your Trezor as a GnuPG agent
@@ -22388,18 +22388,27 @@ EOF | |||
trezor_agent = buildPythonPackage rec{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are moving Python expressions out of pkgs/top-level/python-packages.nix
into pkgs/development/python-modules/<module>/default.nix
.
Please move the expression there, and call it from pkgs/top-level/python-packages.nix
using callPackage ../development/python-modules/<package> { };
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for reviewing this! will do
@fpletz is it ok to add trezor to this module? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 on putting it in the gnupg module but please move the python module as @FRidh suggested.
libagent keeps breaking, this time due to a few deps. bah! will have to revisit. |
Motivation for this change
This adds an option to enable trezor-agent, a GPG agent that enables GPG encrypting and signing with a Trezor hardware wallet.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)