4a5d8fc212
* 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> |
||
---|---|---|
.. | ||
aws | ||
cassandra | ||
consul | ||
database | ||
mongodb | ||
mssql | ||
mysql | ||
nomad | ||
pki | ||
postgresql | ||
rabbitmq | ||
ssh | ||
totp | ||
transit |