ctlsock: better error message for forward mode path decryption

This commit is contained in:
Jakob Unterwurzacher 2017-01-29 18:55:52 +01:00
parent 53fe6f5690
commit 1273d7edae

View File

@ -15,5 +15,5 @@ func (fs *FS) EncryptPath(plainPath string) (string, error) {
// DecryptPath implements ctlsock.Backend
func (fs *FS) DecryptPath(cipherPath string) (string, error) {
return "", errors.New("not implemented (yet?)")
return "", errors.New("Forward mode does not have path decryption implemented")
}