diff options
author | DerDonut | 2020-05-19 13:34:58 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-06-06 12:20:31 +0200 |
commit | a8230d271f394e130a8190d554eef2a86bc962d7 (patch) | |
tree | babb6d3c4d9d76bd2d5363a1a83728a4c063c4f7 /internal/contentenc/offsets.go | |
parent | a56e7cc5ac3ede528aaa05f912c865b09e942de4 (diff) |
Added auto decryption of invalid file names
Changed invalid file decoding and decryption. Function
DecryptName now shortens the filename until the filename is
decodable and decryptable. Will work with valid **and**
invalid Base64URL delimiter (valid delimiter [0-9a-zA-z_\\-].
If the filename is not decryptable at all, it returns the
original cipher name with flag suffix Changed cli tests to
generate decryptable and undecryptable file names with correct
encrypted content. Replacing #474, extends #393
Diffstat (limited to 'internal/contentenc/offsets.go')
0 files changed, 0 insertions, 0 deletions