aboutsummaryrefslogtreecommitdiff
path: root/file/names.go
diff options
context:
space:
mode:
Diffstat (limited to 'file/names.go')
-rw-r--r--file/names.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/file/names.go b/file/names.go
index 2ee1518..dd24617 100644
--- a/file/names.go
+++ b/file/names.go
@@ -24,6 +24,10 @@ func PubName(encFile string) string {
return filepath.Base(encFile[:len(ext)-1] + ".pub")
}
+func SigName(msgFile string) string {
+ return msgFile + ".sig"
+}
+
const verifyWith = "verify with "
func PubFile(comment string) (string, bool) {