Zorg
60568b82ba
Don't allow DSA-only updates to pass if DSA is disabled ( #2340 )
2023-03-12 07:59:03 -07:00
Zorg
be7f6952c2
Reduce code size and make codebase more consistent ( #2305 )
2022-12-27 12:03:03 -08:00
Zorg
1c560652e7
Remove ed25519 git submodule ( #2244 )
...
Also allow release scripts to work without git repository and bump the Sparkle versions.
2022-08-27 10:46:29 -07:00
Zorg
15e8270291
Silence deprecation warnings when bumping deployment target ( #2152 )
2022-06-11 13:09:23 -07:00
Zorg
b05c058219
Silence deprecations and use modern NSSecureCoding APIs ( #2058 )
2022-01-09 19:25:28 -08:00
Zorg
4db96f6c4f
Improve error reporting for DSA validation
2021-07-26 15:58:20 +01:00
Zorg
89ab067477
Populate NSError when signature validation or code sign fails
2021-07-26 15:58:20 +01:00
Mayur Pawashe
5677ca3f5a
Avoid DSA verification if EdDSA verification passes ( #1888 )
...
If EdDSA verification passes we don't need to have DSA verification pass, and don't need to require the new update to contain a DSA signature or keys.
Also reject updates if app has EdDSA but no EdDSA signature is provided
2021-07-11 08:59:09 -07:00
Jordan Rose
e7e20e6ac8
Represent invalid public keys and signatures explicitly
...
Rather than using a valid-but-incorrect public key or signature to
make sure a failure to parse turns into a failure to validate, only
return a public key / signature when it is both present and at least
minimally valid. Syntactically invalid public keys / signatures are
also logged explicitly.
2020-06-25 00:01:09 +01:00
Jordan Rose
50d321a1a9
Now that we're close enough to 1.x, steal its implementation of SUSignatureVerifier.m and SUUpdateValidator.m wholesale.
2020-06-10 12:14:30 +01:00
Jordan Rose
55e0dc508c
Rename -[SUSignatureVerifier verifyStream:signatures:] to -verifyDSASignatureOfStream:signatures: (like b9150d2 on 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
f6f4ac6925
Make SecKeyRef as needed (like 1006326 on 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
e7c828b332
Rename SUDSAVerifier to SUSignatureVerifier (like 98ea3e3 on 1.x)
2020-06-10 12:14:30 +01:00