open-vault/builtin
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
..
audit Format requests/responses ahead of time in file audit (#7024) 2019-07-01 16:07:03 -04:00
credential Stepwise docker env (#9292) 2020-06-26 17:52:31 -05:00
logical Remove two unreliable tests from TestTransit_SignVerify_P256. (#7499) 2020-06-29 12:22:22 -04:00
plugin Add a unit test for plugin initialization (#7158) 2019-09-26 10:01:45 -04:00