Kornel
0900d09ab3
Run swiftlint
2020-06-10 12:19:02 +01:00
Rajiv Shah
1755a3da05
Silence two warnings
2020-06-10 12:17:38 +01:00
Rajiv Shah
bb56b5b259
Run SwifLint autocorrect
2020-06-10 12:15:34 +01:00
Rajiv Shah
5df208336a
Copy SwiftLint config from master
2020-06-10 12:15:34 +01:00
Jordan Rose
50f754c21d
Don't treat a download prevalidation failure as a regular validation failure
...
You have to remember to invoke prevalidation anyway, so it doesn't
gain much for post-validation to check whether prevalidation failed.
Also, remove a no-longer correct comment from the corresponding
header.
2020-06-10 12:14:30 +01:00
Jordan Rose
8455216a58
Don't complain about pre-validated package installs
...
That's the normal way packages get installed in 2.x.
2020-06-10 12:14:30 +01:00
Jordan Rose
524761c50f
Remove -[SUPublicKeys isEqualToKey:]
...
It's been broken since 2018, and we suspect no one's using it anyway.
2020-06-10 12:14:30 +01:00
Jordan Rose
626ccc79c6
Update missing key messages to refer to EdDSA rather than DSA
2020-06-10 12:14:30 +01:00
Jordan Rose
a9ba760d6e
Rename generate_appcast briding header to match standard naming
2020-06-10 12:14:30 +01:00
Jordan Rose
9561b365af
Update signing self-check to look for EdDSA (like 14f1d352 on 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
723e5d11be
Statically link libed25519.a everywhere that needs it.
2020-06-10 12:14:30 +01:00
Jordan Rose
19ef31b681
Use EdDSA keys in test app (like 9c4729ed on 1.x)
2020-06-10 12:14:30 +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
2ace19e72b
Read SUPublicEDKey from plist (like 68856e0 in 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
cb12461be1
Separate prevalidation out of constructor (like 92e00ba 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
Jordan Rose
5dbc53a8b8
Adopt SUPublicKeys (like c094a38 on 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
5dc407ddc5
Switch the signature verifier to use SUSignatures (like 6df898f on 1.x)
2020-06-10 12:14:30 +01:00
Jordan Rose
261f5dc797
Push SUSignature through SUAppcastItem (like 8ad1f57 on 1.x)
2020-06-10 12:14:30 +01:00
Tony Arnold
25d394acda
Update the code signing verifier tests to match what is on master
2020-06-10 12:14:30 +01:00
Tony Arnold
401cd5f628
Add Xcode group for the command line tools
...
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Tony Arnold
ddc8fac6c6
Add sign_update command line tool
...
This code has been ported directly from `master`.
Co-authored-by: Kornel Lesiński <github@pornel.net >
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Tony Arnold
da573aa9ab
Add generate_keys command line tool
...
This code has been ported directly from `master`.
Co-authored-by: Kornel Lesiński <github@pornel.net >
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Tony Arnold
8b40e22432
Update generate_appcast command line tool to support ed25519 signatures
...
This code has been ported directly from `master`.
Co-authored-by: Kornel Lesiński <github@pornel.net >
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Tony Arnold
93a8aca7fd
Add ed25519 as a static library to the project
...
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Tony Arnold
63aa96a076
Look up the path for the System Applications directory, as it is not a single directory on macOS Catalina
2020-06-10 12:14:29 +01:00
Kornel
7b13157dce
Merge pull request #1598 from rajivshah3/fix/2.x/ci
...
2.x: Fix CI tests
2020-05-27 11:44:59 +01:00
Rajiv Shah
aa9e05958d
Fix SUCodeSigningVerifierTest on macOS 10.15
...
Pre-installed apps, such as Calculator, are now installed under the System folder
2020-05-26 17:36:42 -04:00
Rajiv Shah
58fff9732e
Copy new Travis CI config from master
2020-05-26 17:31:02 -04:00
Kornel
9c8fef56e3
Merge pull request #1592 from R4N/fullscreen-alert-fix-v2
2020-05-15 20:39:17 +01:00
Micah Moore
0e0b87afd4
Sets UpdateAlert and UpdatePermissionPrompt window's fullscreen collectionBehavior to NSWindowCollectionBehaviorFullScreenAuxiliary to allow them to present on top of the Main App's window if it's fullscreen.
2020-05-15 14:15:11 -04:00
Kornel
b8f87f1702
Merge pull request #1584 from ksuther/fix-warnings
2020-05-05 14:14:33 +01:00
Kent Sutherland
32db72a2fc
Fix format warning
2020-05-04 19:03:07 -05:00
Kent Sutherland
f83f29193b
Remove __attribute__((noreturn)) since these methods no longer abort
2020-05-04 19:02:56 -05:00
Kent Sutherland
93cff25e6f
Remove @import from framework headers
...
Xcode 11.4 turns on -Watimport-in-framework-header by default which causes this to warn
2020-05-04 19:02:41 -05:00
Kornel
f886459367
Merge pull request #1567 from panicinc/merge/app-translocation
...
Adding support for detecting App Translocation and showing an error
2020-03-27 14:33:41 +00:00
Logan Collins
54e663085b
Adding support for detecting App Translocation and showing an error, originally from #1392 .
2020-03-26 14:58:59 -07:00
Kornel
80627a4946
Merge pull request #1566 from bdkjones/2.x
...
Better Appcast Errors
2020-03-26 12:20:41 +00:00
Bryan Jones
ba8dd4d010
Better Appcast Errors
...
Removes extra layer of UserInfo dictionary, exposing underlying errors to implementors.
2020-03-25 23:21:05 -07:00
Kornel
5270fe0f51
Merge pull request #1557 from martinsp/fix-2.x-build
...
Fixes `make release` for 2.x
2020-03-07 01:21:10 +00:00
Martins Polakovs
03ab0b72a6
Fixes make release
2020-03-06 22:22:55 +02:00
Kornel
931f7855f7
Merge pull request #1554 from philippec/fix-build-2.x
...
Fixed build issue
2020-02-21 10:35:35 +00:00
Philippe Casgrain
a10a99ce1a
Fixed build issue
...
Added missing semi-colon that prevented a `make release` build.
2020-02-20 22:59:44 -05:00
Kornel
a9209b94b7
Merge pull request #1545 from bdkjones/2.x
...
Remove most production-reachable instances of abort().
2020-02-06 10:01:37 +00:00
Kornel Lesiński
d2ac8bc61e
Bump version
...
Fixes #1547
2020-02-06 09:53:23 +00:00
Bryan Jones
e5e4c6c2e1
Remove most production-reachable instances of abort().
2020-02-05 23:25:07 -08:00
Kornel
a045f1a50b
Merge pull request #1524 from jakob/issue-1505
...
Sparkle 2.x: Delay startup of updater
2019-12-15 17:05:27 +00:00
Jakob
771b193924
Use self to avoid warning
2019-12-14 22:53:56 +01:00