From 6c2ef82cf1c433c783a4cd0876f122fc908ef2d6 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 May 2017 22:34:29 +0200 Subject: less magic --- file/names.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'file') 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) { -- cgit v1.2.3