open-vault/builtin/logical/transit
Vishal Nayak 5fb28f53cb Transit: Support batch encryption and decryption (#2143)
* Transit: Support batch encryption

* Address review feedback

* Make the normal flow go through as a batch request

* Transit: Error out if encryption fails during batch processing

* Transit: Infer the 'derived' parameter based on 'context' being set

* Transit: Batch encryption doc updates

* Transit: Return a JSON string instead of []byte

* Transit: Add batch encryption tests

* Remove plaintext empty check

* Added tests for batch encryption, more coming..

* Added more batch encryption tests

* Check for base64 decoding of plaintext before encrypting

* Transit: Support batch decryption

* Transit: Added tests for batch decryption

* Transit: Doc update for batch decryption

* Transit: Sync the path-help and website docs for decrypt endpoint

* Add batch processing for rewrap

* transit: input validation for context

* transit: add rewrap batch option to docs

* Remove unnecessary variables from test

* transit: Added tests for rewrap use cases

* Address review feedback

* Address review feedback

* Address review feedback

* transit: move input checking out of critical path

* transit: allow empty plaintexts for batch encryption

* transit: use common structs for batch processing

* transit: avoid duplicate creation of structs; add omitempty to response structs

* transit: address review feedback

* transit: fix tests

* address review feedback

* transit: fix tests

* transit: rewrap encrypt user error should not error out

* transit: error out for internal errors
2017-02-02 14:24:20 -05:00
..
backend.go Adding support for exportable transit keys (#2133) 2017-01-23 11:04:43 -05:00
backend_test.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_config.go Add convergent encryption option to transit. 2016-06-20 13:17:48 -04:00
path_datakey.go Address review feedback 2016-08-08 16:30:48 -04:00
path_decrypt.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_decrypt_test.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_encrypt.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_encrypt_test.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_export.go Make export errors a bit more meaningful 2017-01-30 09:25:50 -05:00
path_export_test.go Have transit exporting return the same structure regardless of one key or many 2017-01-28 10:37:35 -05:00
path_hash.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_hash_test.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_hmac.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_hmac_test.go Pulled out transit's lock manager and policy structs into a helper 2016-10-26 19:52:31 -04:00
path_keys.go Adding support for exportable transit keys (#2133) 2017-01-23 11:04:43 -05:00
path_random.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_random_test.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_rewrap.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_rewrap_test.go Transit: Support batch encryption and decryption (#2143) 2017-02-02 14:24:20 -05:00
path_rotate.go Pulled out transit's lock manager and policy structs into a helper 2016-10-26 19:52:31 -04:00
path_sign_verify.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_sign_verify_test.go Pulled out transit's lock manager and policy structs into a helper 2016-10-26 19:52:31 -04:00