vault/builtin/logical/transit
Vishal Nayak ced60dbc0c
Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489)
* encrypt/decrypt/sign/verify RSA

* update path-help and doc

* Fix the bug which was breaking convergent encryption

* support both 2048 and 4096

* update doc to contain both 2048 and 4096

* Add test for encrypt, decrypt and rotate on RSA keys

* Support exporting RSA keys

* Add sign and verify test steps

* Remove 'RSA' from PEM header

* use the default salt length

* Add 'RSA' to PEM header since openssl is expecting that

* export rsa keys as signing-key as well

* Comment the reasoning behind the PEM headers

* remove comment

* update comment

* Parameterize hashing for RSA signing and verification

* Added test steps to check hash algo choice for RSA sign/verify

* fix test by using 'prehashed'
2017-11-03 10:45:53 -04:00
..
backend_test.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00
backend.go Final sync 2017-10-23 17:39:21 -04:00
path_config_test.go Add ability to specify encryption key version in transit (#2821) 2017-06-06 16:02:54 -04:00
path_config.go Add ability to specify encryption key version in transit (#2821) 2017-06-06 16:02:54 -04:00
path_datakey.go Add ability to specify encryption key version in transit (#2821) 2017-06-06 16:02:54 -04:00
path_decrypt_test.go transit: change batch input format (#2331) 2017-02-06 14:56:16 -05:00
path_decrypt.go Update the error when no key can be found to a more clear error text (#2720) 2017-05-12 14:14:00 -04:00
path_encrypt_test.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00
path_encrypt.go return the actual error for base64 decoding failure (#3397) 2017-10-20 11:21:45 -04:00
path_export_test.go ed25519 support in transit (#2778) 2017-06-05 15:00:39 -04:00
path_export.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00
path_hash_test.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_hash.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_hmac.go Add ability to specify encryption key version in transit (#2821) 2017-06-06 16:02:54 -04:00
path_keys_test.go Add a -dev-three-node option for devs. (#3081) 2017-07-31 11:28:06 -04:00
path_keys.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00
path_random_test.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_random.go Transit and audit enhancements 2016-09-21 10:49:26 -04:00
path_rewrap_test.go transit: change batch input format (#2331) 2017-02-06 14:56:16 -05:00
path_rewrap.go Add ability to specify encryption key version in transit (#2821) 2017-06-06 16:02:54 -04: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_test.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00
path_sign_verify.go Encrypt/Decrypt/Sign/Verify using RSA in Transit backend (#3489) 2017-11-03 10:45:53 -04:00