~bigbes/core-go: 900693b8

crypto: harden API surface

Make it explicit that expiration is not being tested with Decrypt, and
test that the expiration is meaningful with DecryptWithExpiration.

Drew DeVault <sir@cmpwn.com> — 2021-01-07 14:38:30 UTC

Commit 900693b830c34ef54b73bf3c1e88175d864719e9view raw patch

Parent(s): 12996e4a

4 changed file(s)

FileStatus+
auth/middleware.go M +1 -1
crypto/crypto.go M +4 -1
crypto/crypto_test.go M +1 -1
model/cursor.go M +1 -1