open-vault/builtin/logical/transit
ncabatoff 4a5d8fc212
Remove two unreliable tests from TestTransit_SignVerify_P256. (#7499)
* Remove two tests from TestTransit_SignVerify_P256.  These verify that
you can't verify something signed using JWS marshaling when claiming
it's ASN1, and vice versa.  The problem is that we rely on unmarshaling
failing, and it doesn't always.  Both encodings use base64, one with
padding, one without, so depending on the data sometimes unmarshaling
will work when we expect it to fail.  It would be nice to preserve
these tests if they could be made reliable, but I didn't see an easy way,
and I don't think they add enough value to warrant greater effort.

* Restore the tests I removed, and improve the verify function to broaden the notion of errExpected.

Co-authored-by: Vishal Nayak <vishalnayak@users.noreply.github.com>
2020-06-29 12:22:22 -04:00
..
cmd/transit Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
backend_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_backup.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
path_backup_test.go RSA3072 implementation in transit secrets engine (#8151) 2020-02-15 14:40:50 -08:00
path_cache_config.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
path_cache_config_test.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
path_config.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_config_test.go Add AES128-GCM96 support to transit (#7555) 2019-10-03 16:11:43 -04:00
path_datakey.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_decrypt.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_decrypt_bench_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_decrypt_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
path_encrypt.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_encrypt_bench_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_encrypt_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_export.go RSA3072 implementation in transit secrets engine (#8151) 2020-02-15 14:40:50 -08:00
path_export_test.go Add AES128-GCM96 support to transit (#7555) 2019-10-03 16:11:43 -04:00
path_hash.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
path_hash_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
path_hmac.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_hmac_test.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_keys.go RSA3072 implementation in transit secrets engine (#8151) 2020-02-15 14:40:50 -08:00
path_keys_test.go Add P384 and P521 support to Transit (#7551) 2019-10-03 12:32:43 -04:00
path_random.go Add maximum amount of random entropy requested (#7144) 2019-07-24 18:22:23 -07:00
path_random_test.go Add maximum amount of random entropy requested (#7144) 2019-07-24 18:22:23 -07:00
path_restore.go remove redundant check and clarify code comment 2019-12-11 10:16:09 -06:00
path_restore_test.go Transit: error when restoring to a name that looks like a path (#7998) 2019-12-11 09:32:22 -06:00
path_rewrap.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_rewrap_test.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_rotate.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_sign_verify.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_sign_verify_test.go Remove two unreliable tests from TestTransit_SignVerify_P256. (#7499) 2020-06-29 12:22:22 -04:00
path_trim.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_trim_test.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
stepwise_test.go Stepwise docker env (#9292) 2020-06-26 17:52:31 -05:00