-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1098 add ca into macos os store (#1107)
* extract runner package * task run in debug * WIP * Add a basic repair flag. * Use MassaStation repair in MacOS postinstall script. * implement add CA for darwin * fix certutilBinaryPath for windows * fix a fmt.Errorf * Clean Add certificate to store for MacOS. * enable debug log in macos postinstall script * remove a debug log * format code * Remove logger import in store_darwin.go * Fix CR comments. * check type assertion * refactor updateTrustSettings * move config dir check * log file for repair mode * Add a basic unit test for MacOS Add certificate * Add sudo check in MacOS Add certificate unit test * improve a log message Co-authored-by: Grégory Libert <[email protected]> --------- Co-authored-by: thomas-senechal <[email protected]> Co-authored-by: Thomas Sénéchal <[email protected]> Co-authored-by: Grégory Libert <[email protected]>
- Loading branch information
1 parent
6802b4e
commit 3046b23
Showing
20 changed files
with
367 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package store | ||
|
||
import "fmt" | ||
import "errors" | ||
|
||
var ErrCertificateNotFound = fmt.Errorf("certificate not found") | ||
var ErrCertificateNotFound = errors.New("certificate not found") |
Oops, something went wrong.