Dirk Stöcker
6f019acd7b
support filtering
2024-05-23 15:44:12 +02:00
Andrew Ayer
cd4d796a7c
Respect $EMAIL when sending emails
...
Envelope sender and RFC5322.From address are set to $EMAIL if it's non-empty.
Requested in #87
2024-05-21 15:11:22 -04:00
Andrew Ayer
b5f9a48dc3
man page: document that -no_save causes duplicate notifications
...
Suggested by @certrik in #26
2024-05-21 15:02:30 -04:00
Andrew Ayer
93ca622a37
Add NotifyError to StateProvider
2024-04-04 08:09:00 -04:00
Andrew Ayer
7bb5602d09
Refine interface for malformed log entries
2024-04-04 07:55:44 -04:00
Andrew Ayer
73327f0c2c
Refine interface for healthcheck failures
2024-04-04 07:53:35 -04:00
Andrew Ayer
5e0737353c
Abstract state storage and notification logic behind an interface
2024-04-04 07:47:25 -04:00
Andrew Ayer
740bf5ac55
Apply gofmt
2024-04-03 16:51:02 -04:00
Andrew Ayer
658e320638
Remove unnecessary seeding of math/rand
...
No longer necessary with Go 1.20.
2023-11-13 16:44:10 -05:00
Andrew Ayer
1da3a9e305
Release v0.18.0
2023-11-13 16:41:30 -05:00
Andrew Ayer
e2b5a8c8ea
Fix bug when fetching entries
...
This bug caused certspotter to always request 1000 entries even if
went beyond the size of the log. This would have prevented
certspotter from downloading entries near the end of the log, if the log was
strict with get-entries bounds.
In practice, none of the active CT logs are strict with get-entries bounds,
and even if a log were strict, certspotter would have been able to successfully
download the entries later once the log grew.
2023-11-13 16:33:17 -05:00
Andrew Ayer
b957791a5f
Add a helper function
2023-10-29 08:17:58 -04:00
Andrew Ayer
07bf0cfe2f
Include `Message-ID` and `Date` in outbound emails
...
Closes : #82
2023-10-29 08:17:58 -04:00
Andrew Ayer
5fae49a971
Simplify some code
2023-10-29 07:45:23 -04:00
Andrew Ayer
f8040df68d
Release v0.17.0
2023-10-26 16:53:34 -04:00
Andrew Ayer
43d72adf51
Update dependencies
2023-10-26 16:51:15 -04:00
Andrew Ayer
bdb472c2fc
Improve documentation
2023-10-24 11:33:10 -04:00
chayleaf
74fb03b579
make sendmail path configurable using an env var
...
Closes : #80
2023-10-24 11:32:59 -04:00
Andrew Ayer
f38583b79f
Update ct/README
...
Closes : #64
2023-10-24 09:13:37 -04:00
Jakub Wilk
ab72a342d7
README: fix hyperlink markup
2023-10-23 23:55:58 +02:00
Andrew Ayer
c52f1f950c
Improve documentation about $SUMMARY
2023-10-23 12:01:39 -04:00
Andrew Ayer
e3d8e99143
Add a comment
2023-10-21 14:29:37 -04:00
guoguangwu
197414cfef
chore: remove refs to deprecated io/ioutil
2023-10-10 10:17:05 +08:00
Andrew Ayer
6ae7ae1f9a
Update dependencies
2023-09-01 10:56:05 -04:00
Andrew Ayer
84de749c8c
merkletree: add CollapsedTree.Equal
2023-08-30 11:56:05 -04:00
Andrew Ayer
eb16a10c2e
Implement MarshalBinary and UnmarshalBinary for MerkleTreeHash
2023-08-25 07:40:20 -04:00
Andrew Ayer
70e05ea7b0
merkletree: use non-pointer receiver for MarshalJSON
2023-07-02 14:32:11 -04:00
Andrew Ayer
ec5c63cf1a
export ParseSANExtension
2023-03-04 16:05:05 -05:00
Andrew Ayer
007f24feee
merkletree: add Append method
2023-03-04 16:05:05 -05:00
Andrew Ayer
1413b877f3
merkletree: factor out collapsing logic
2023-03-04 16:05:05 -05:00
Andrew Ayer
1bde49894c
merkletree: make some code a bit more obvious and general
2023-03-04 16:05:05 -05:00
Andrew Ayer
935226b047
merkletree: use math/bits.OnesCount64 for efficiency
2023-03-04 16:05:05 -05:00
Andrew Ayer
4ca81ab8aa
Release v0.16.0
2023-02-21 14:26:55 -05:00
Andrew Ayer
0f627d1137
Upgrade dependencies
2023-02-21 10:51:15 -05:00
Andrew Ayer
5cd2b7ebe9
Refine README
2023-02-21 08:30:51 -05:00
Andrew Ayer
d6c15f1caf
Prepare changelog for v0.16.0
2023-02-21 08:29:39 -05:00
Andrew Ayer
838fc988cc
Update documentation
2023-02-20 10:35:44 -05:00
Andrew Ayer
cd1b7a80ca
Read email addresses from $CERTSPOTTER_CONFIG_DIR/email_recipients
2023-02-20 10:14:10 -05:00
Andrew Ayer
8b7cef7f61
Factor out some code into a helper function
2023-02-20 10:05:04 -05:00
Andrew Ayer
fd0a2a4d44
Execute scripts under $CERTSPOTTER_CONFIG_DIR/hooks.d, if it exists
2023-02-20 10:02:48 -05:00
Andrew Ayer
d08ad53464
Make error message for missing watch list more friendly
2023-02-20 09:47:15 -05:00
Andrew Ayer
69be2f890a
Update certspotter-script man page
2023-02-19 09:01:24 -05:00
Andrew Ayer
a242f6be26
Use same code to produce $SUMMARY and email subject
2023-02-19 08:48:30 -05:00
Andrew Ayer
152f4341d6
Save failed healthchecks, and put path in $TEXT_FILENAME
...
To allow scripts to access them.
2023-02-19 08:45:46 -05:00
Andrew Ayer
bd2bab5fcb
Save malformed entries, and put paths in environment variables
...
To allow scripts to access them.
2023-02-19 08:45:32 -05:00
Andrew Ayer
ee8ae0c1f3
Add helper functions for writing files
2023-02-18 21:15:40 -05:00
Andrew Ayer
ba3af60858
Fix typo in man page
2023-02-18 21:15:40 -05:00
Andrew Ayer
223bf93292
Prepare changelog for v0.15.1
2023-02-09 13:44:06 -05:00
Andrew Ayer
7d910d5521
When version is set via ldflag, append a "?" to indicate uncertainty
2023-02-09 11:29:30 -05:00
Faidon Liambotis
1a5f581c07
certspotterVersion: also allow -X=main.Version
...
debug.ReadBuildInfo() doesn't work for the Debian package, where there
is no git repository (at best; could be the Debian packaging one). The
go module doesn't have a version either.
Add a quick shortcut at the top, that sets the version to main.Version
if it's non-empty -- which is by default, so no change in behavior.
Effectively, this allows one to use the standard
-ldflags=-X=main.Version to set the version, like we intend to do in the
Debian package.
2023-02-09 11:28:04 -05:00