]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/menu: Verify detached signature
authorOleg Broytman <phd@phdru.name>
Sun, 18 Sep 2022 21:18:38 +0000 (00:18 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 29 Sep 2022 16:55:15 +0000 (19:55 +0300)
.mc/menu

index 22266e5cc193a34193505d6bbfc582301f536f35..5f5b606341a361f93d768f420cfe0c2a7ab874c6 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -548,6 +548,10 @@ D  Diff these directories
 v  Verify signature
    exec gpg --verify %f
 
++ f \.(asc|gpg|sig(n)?)$ & t lr
+v  Verify detached signature
+   exec gpg --verify %f "`echo %f | sed 's/\.[^.]*$//'`"
+
 += f \.[1-8]$ | f \.man$ & t lr
 1  Display the file with roff -man
    %view nroff -man %f