fix: s/mime verification failed in gpg using neomutt
This commit is contained in:
parent
731b4c96a6
commit
3f39d3e334
9 changed files with 40 additions and 11 deletions
|
|
@ -55,6 +55,7 @@ theme = noctis-azureus
|
||||||
# palette = 15=#b5bfe2
|
# palette = 15=#b5bfe2
|
||||||
|
|
||||||
keybind = all:ctrl+shift+period=text:\x1b\x1f\x4c\x23\x1f
|
keybind = all:ctrl+shift+period=text:\x1b\x1f\x4c\x23\x1f
|
||||||
keybind = shift+enter=text:\n
|
# keybind = shift+enter=text:\n
|
||||||
|
keybind = shift+enter=text:\x1b\r
|
||||||
keybind = ctrl+left_bracket=text:\x1b
|
keybind = ctrl+left_bracket=text:\x1b
|
||||||
# keybind = ctrl+a=text:\x01
|
# keybind = ctrl+a=text:\x01
|
||||||
|
|
|
||||||
4
config/home/.gnupg/gpgsm.conf
Normal file
4
config/home/.gnupg/gpgsm.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Disable CRL checking to prevent hangs
|
||||||
|
disable-crl-checks
|
||||||
|
# Also disable OCSP
|
||||||
|
disable-ocsp
|
||||||
2
config/home/.gnupg/trustlist.txt
Normal file
2
config/home/.gnupg/trustlist.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# HARICA Client RSA Root CA 2021
|
||||||
|
46:C6:90:0A:77:3A:B6:BC:F4:65:AD:AC:FC:E3:F7:07:00:6E:DE:6E S relax
|
||||||
|
|
@ -16,7 +16,10 @@ set attach_save_dir = "~/"
|
||||||
# General settings
|
# General settings
|
||||||
set color_directcolor = yes
|
set color_directcolor = yes
|
||||||
set implicit_autoview = yes
|
set implicit_autoview = yes
|
||||||
|
# S/MIME and crypto settings
|
||||||
set crypt_use_gpgme = yes
|
set crypt_use_gpgme = yes
|
||||||
|
set crypt_auto_smime = no
|
||||||
|
set smime_is_default = no
|
||||||
set wait_key = no
|
set wait_key = no
|
||||||
unset mark_old
|
unset mark_old
|
||||||
alternative_order text/enriched text/plain text
|
alternative_order text/enriched text/plain text
|
||||||
|
|
|
||||||
|
|
@ -261,6 +261,11 @@ later(function()
|
||||||
['<C-n>'] = 'j',
|
['<C-n>'] = 'j',
|
||||||
-- Preview with Ctrl+Space
|
-- Preview with Ctrl+Space
|
||||||
['<C-Space>'] = 'actions.preview',
|
['<C-Space>'] = 'actions.preview',
|
||||||
|
-- Tmux navigation
|
||||||
|
['<C-h>'] = function() require('tmux').move_left() end,
|
||||||
|
['<C-j>'] = function() require('tmux').move_bottom() end,
|
||||||
|
['<C-k>'] = function() require('tmux').move_top() end,
|
||||||
|
['<C-l>'] = function() require('tmux').move_right() end,
|
||||||
-- Copy current directory path to clipboard
|
-- Copy current directory path to clipboard
|
||||||
['gy'] = {
|
['gy'] = {
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
theme = "noctis_azureus"
|
theme = "noctis_azureus"
|
||||||
|
client_id = "9fe4fbbcf6204173a91b03be52848142"
|
||||||
client_port = 8080
|
client_port = 8080
|
||||||
login_redirect_uri = "http://127.0.0.1:8989/login"
|
login_redirect_uri = "http://127.0.0.1:8989/login"
|
||||||
playback_format = """
|
playback_format = """
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
./email
|
./email
|
||||||
./emacs.nix
|
./emacs.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
|
./gpg.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./latex.nix
|
./latex.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
|
@ -18,13 +19,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
services = {
|
|
||||||
gpg-agent = {
|
|
||||||
enable = true;
|
|
||||||
# enableSshSupport = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
@ -42,9 +36,6 @@
|
||||||
enableZshIntegration = config.programs.zsh.enable;
|
enableZshIntegration = config.programs.zsh.enable;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
gpg = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
|
|
||||||
21
home/gpg.nix
Normal file
21
home/gpg.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
dots,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
services.gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
# enableSshSupport = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.gpg.enable = true;
|
||||||
|
|
||||||
|
# gpgsm config for S/MIME
|
||||||
|
home.file = {
|
||||||
|
".gnupg/gpgsm.conf".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${dots}/config/home/.gnupg/gpgsm.conf";
|
||||||
|
".gnupg/trustlist.txt".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${dots}/config/home/.gnupg/trustlist.txt";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -78,6 +78,7 @@
|
||||||
wget
|
wget
|
||||||
igv
|
igv
|
||||||
claude-code
|
claude-code
|
||||||
|
codex
|
||||||
nodejs_24
|
nodejs_24
|
||||||
ghidra-bin
|
ghidra-bin
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue