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

systemdUkify: Missing dependency cryptography #369633

Open
fatgoosee opened this issue Dec 31, 2024 · 0 comments
Open

systemdUkify: Missing dependency cryptography #369633

fatgoosee opened this issue Dec 31, 2024 · 0 comments

Comments

@fatgoosee
Copy link

Issue description

When running ukify genkey --secureboot-private-key=<path>.pam --secureboot-certificate=<path>.pam: ModuleNotFoundError: No module named 'cryptography', due to missing dependency cryptography in systemd's default.nix
Discourse link: https://discourse.nixos.org/t/systemdukify-modulenotfounderror-no-module-named-cryptography/57904/12

Steps to reproduce

configure systemdUkify in environment.systemPackages
run ukify genkey --secureboot-private-key=PV.pam --secureboot-certificate=CERT.pam

Technical details

  • system: "x86_64"
  • host os: `Linux 6.6.66, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant