π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix lint
Neeraj Gupta0bd27cd6f4b1
diff --git a/server/pkg/utils/crypto/crypto.go b/server/pkg/utils/crypto/crypto.goindex 0d84e05db8..d89929547c 100644--- a/server/pkg/utils/crypto/crypto.go+++ b/server/pkg/utils/crypto/crypto.go@@ -47,7 +47,7 @@ func encryptWithNonce(data string, encryptionKey []byte, nonce []byte) (ente.Encif base64.StdEncoding.EncodeToString(nativeEnc.Cipher) != base64.StdEncoding.EncodeToString(encryptedEmailBytes) ||base64.StdEncoding.EncodeToString(nativeEnc.Nonce) != base64.StdEncoding.EncodeToString(nonce) {logrus.WithField("op", "crypto_compare").Error("encryption mismatch between libsodium and native implementation")- return ente.EncryptionResult{}, stacktrace.NewError("encryption mismatch", " nonce or cipher not same")+ return ente.EncryptionResult{}, stacktrace.NewError("encryption mismatch nonce or cipher not same")}return nativeEnc, nil}