summaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorDerDonut2020-05-19 13:34:58 +0200
committerJakob Unterwurzacher2020-06-06 12:20:31 +0200
commita8230d271f394e130a8190d554eef2a86bc962d7 (patch)
treebabb6d3c4d9d76bd2d5363a1a83728a4c063c4f7 /cli_args.go
parenta56e7cc5ac3ede528aaa05f912c865b09e942de4 (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 'cli_args.go')
0 files changed, 0 insertions, 0 deletions