Commit 55bb102
Enforce observer timestamp in verifyDsse() (#26)
The observer-timestamp guard added in #25 lives only in verify(); callers
that verify via verifyDsse() had no such check. A bundle with no
integratedTime, no inclusion promise, and an empty timestampVerificationData
({}) therefore passed verifyDsse() with zero verified timestamps, leaving
the signing certificate's validity window unanchored in time.
Mirror the verify() guard in verifyDsse(): each tlog entry must be anchored
by either integratedTime (the cert must be valid then) or a signed RFC3161
timestamp. This brings verifyDsse() in line with the observer-timestamp
enforcement in the upstream sigstore-js and sigstore-go clients.
Bump to 0.1.14 (0.1.13 was published before #25).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent fd1ee6c commit 55bb102
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
899 | 923 | | |
900 | 924 | | |
901 | 925 | | |
| |||
0 commit comments