# crypto.ecdsa: stricter DER decoding of signatures \(\#23554\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/933beb4cbd82ce8026a7bd4e887d8096dd3784a9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 933beb4cbd82ce8026a7bd4e887d8096dd3784a9

Requested commit: 933beb4cbd82ce8026a7bd4e887d8096dd3784a9

Commit: 933beb4cbd82ce8026a7bd4e887d8096dd3784a9

Tree: 68c3923561500fff44078b55893616d330b2a047

Author: Frank Denis

Committer: GitHub

## Message

```
crypto.ecdsa: stricter DER decoding of signatures (#23554)

Reject DER-encoded signatures with the top bit set but no leading
0x00

Also add test vectors from Project Wycheproof with ECDSA-P384
```

## Parents

- [76da028239904a479b58a62d6f226085e6e02678](https://git.cafe/gitcafe/zig/commit/76da028239904a479b58a62d6f226085e6e02678?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/933beb4cbd82ce8026a7bd4e887d8096dd3784a9?format=markdown)
