π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Shorten share password token lifetime
Manav Rathic01ba169a4a2
diff --git a/server/pkg/controller/public/link_common.go b/server/pkg/controller/public/link_common.goindex db85068494..0753614e18 100644--- a/server/pkg/controller/public/link_common.go+++ b/server/pkg/controller/public/link_common.go@@ -40,7 +40,7 @@ func verifyPassword(secret []byte, expectedPassHash *string, req ente.VerifyPass}token := jwt.NewWithClaims(jwt.SigningMethodHS256, &enteJWT.LinkPasswordClaim{PassHash: req.PassHash,- ExpiryTime: time.NDaysFromNow(365),+ ExpiryTime: time.NDaysFromNow(30),})// Sign and get the complete encoded token as a string using the secrettokenString, err := token.SignedString(secret)