From 2024616722ee18c3a8886490166d090f81f2ecaf Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 4 Jan 2019 19:34:15 +0100 Subject: xray: print "assuming AES-GCM mode" unless -aessiv is passed To alert the user that they can and should choose the right mode. --- gocryptfs-xray/xray_main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gocryptfs-xray/xray_main.go') diff --git a/gocryptfs-xray/xray_main.go b/gocryptfs-xray/xray_main.go index 5a81caf..73b1e18 100644 --- a/gocryptfs-xray/xray_main.go +++ b/gocryptfs-xray/xray_main.go @@ -32,6 +32,8 @@ func prettyPrintHeader(h *contentenc.FileHeader, aessiv bool) { msg := "Header: Version: %d, Id: %s" if aessiv { msg += ", assuming AES-SIV mode" + } else { + msg += ", assuming AES-GCM mode" } fmt.Printf(msg+"\n", h.Version, id) } -- cgit v1.2.3