feat: changed gnupg key
parent
a16c36c7e4
commit
99b3248bcb
|
@ -9,7 +9,7 @@ in {
|
||||||
userName = "Ricard Illa";
|
userName = "Ricard Illa";
|
||||||
userEmail = "rilla@monotremata.xyz";
|
userEmail = "rilla@monotremata.xyz";
|
||||||
signing = {
|
signing = {
|
||||||
key = "0x8333CFB0B9D3244D";
|
key = "0x101F79336E07C850";
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
};
|
};
|
||||||
# delta = maybe?
|
# delta = maybe?
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
password-store = "${config.home.homeDirectory}/.password-store";
|
password-store = "${config.home.homeDirectory}/.password-store";
|
||||||
stores = "${config.home.homeDirectory}/.local/share/gopass/stores";
|
in
|
||||||
in {
|
{
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||||
settings = {
|
settings = {
|
||||||
PASSWORD_STORE_DIR = password-store;
|
PASSWORD_STORE_DIR = password-store;
|
||||||
PASSWORD_STORE_KEY = "B51D4548A4846E3C8D115C808333CFB0B9D3244D";
|
PASSWORD_STORE_KEY = "2E0A7CADFF84D08BA94273AA101F79336E07C850";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.packages = [ pkgs.zbar pkgs.gopass ];
|
home.packages = [ pkgs.zbar pkgs.gopass ];
|
||||||
|
@ -26,7 +26,6 @@ in {
|
||||||
parsing = true;
|
parsing = true;
|
||||||
path = password-store;
|
path = password-store;
|
||||||
safecontent = false;
|
safecontent = false;
|
||||||
mounts = { lan = "${stores}/lan"; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
let
|
let
|
||||||
defaultBlock = {
|
defaultBlock = {
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
identityFile = "~/.ssh/id_rsa_yubikey.pub";
|
identityFile = "~/.ssh/id_rsa_gpg.pub";
|
||||||
certificateFile = "~/.ssh/id_rsa_yubikey-cert.pub";
|
certificateFile = "~/.ssh/id_rsa_gpg-cert.pub";
|
||||||
forwardAgent = true;
|
forwardAgent = true;
|
||||||
port = 22;
|
port = 22;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
home.file.".ssh/id_rsa_yubikey.pub".source = ./id_rsa_yubikey.pub;
|
home.file.".ssh/id_rsa_gpg.pub".source = ./id_rsa_gpg.pub;
|
||||||
home.file.".ssh/id_rsa_yubikey-cert.pub".source = ./id_rsa_yubikey-cert.pub;
|
home.file.".ssh/id_rsa_gpg-cert.pub".source = ./id_rsa_gpg-cert.pub;
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-rsa-cert-v01@openssh.com AAAAHHNzaC1yc2EtY2VydC12MDFAb3BlbnNzaC5jb20AAAAglWhTnSbL1uBWO80hihwZUrdKrHPf/FmDMpvYKKTXzf0AAAADAQABAAACAQDOYX4vqQexz5w7aSBtcrsESNatF8U1BJnH2WXMIsN/zM8buDBsyuKRW8N8QhxanMMpjHTlbj0m0h2HRweBazezBn97dM7N2JbwSFhcgg3Nk2F85ThT+Ko4SzoBD0AQQUpVIglCrWp2wnvs4E4gEgcTvUQBFc54Cawc4WAwv9BRYfKFO78PrAqdKrpenNjVIAch/4le0WTTAaPLEc8nseeUm+wQRbHKFOq6vkA8LDwz3PlZQuW/NP7vBocFHmIn1Q0UwMPTDF9KbepO7TTsG+Tpf/Ro3YpBCLWFU2VtFF8gGwPANP5JBLMdkGBemGT1/hMUdoVST1SDJLsqRxw4p9rS4ylJf4lniTdTZHDk4vteu0zqSlaTU6/WjcT3WLCbKole2EX00IbEGNTYokIvgjikcM3fHny71yN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