Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use signing keychain for sign_app.sh #374

Merged
merged 2 commits into from Aug 31, 2018
Merged

Use signing keychain for sign_app.sh #374

merged 2 commits into from Aug 31, 2018

Conversation

@mbacchi
Copy link
Member

mbacchi commented Aug 30, 2018

yarn run create_dist has been failing with keychain errors
recently, this corrects the keychain file name.

Partial fix for brave/brave-browser#387

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.
  • Add appropriate QA labels (QA/Needed or QA/No-QA-Needed) to include the closed issue in milestone

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source
`yarn run create_dist` has been failing with keychain errors
recently, this corrects the keychain file name.

Partial fix for brave/brave-browser#387
@mbacchi mbacchi requested a review from RyanJarv Aug 30, 2018
Copy link
Contributor

RyanJarv left a comment

Few comments

@@ -2,11 +2,11 @@ import("//brave/build/config.gni")

declare_args() {
mac_signing_identifier = ""
mac_signing_keychain = "login"
mac_signing_keychain = "keychain"

This comment has been minimized.

Copy link
@RyanJarv

RyanJarv Aug 31, 2018

Contributor

This should be the name of the keychain, login is usually the default so that makes sense here still I think.

}

_packaging_dir = "$root_out_dir/$chrome_product_full_name Packaging"
keychain_db = getenv("HOME") + "/Library/Keychains/login.${mac_signing_keychain}-db"
keychain_db = getenv("HOME") + "/Library/Keychains/signing.${mac_signing_keychain}-db"

This comment has been minimized.

Copy link
@RyanJarv

RyanJarv Aug 31, 2018

Contributor

"/Library/Keychains/login.${mac_signing_keychain}-db"

should be imo

"/Library/Keychains/${mac_signing_keychain}.keychain-db"

The keychain-db is always the same and doesn't change, the first part is the keychain name which generally defaults to login

Copy link
Contributor

RyanJarv left a comment

lgtm

@mbacchi mbacchi merged commit f7ef691 into master Aug 31, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@RyanJarv RyanJarv deleted the sign_app branch Sep 4, 2018
@RyanJarv RyanJarv restored the sign_app branch Sep 4, 2018
@RyanJarv RyanJarv deleted the sign_app branch Sep 4, 2018
petemill pushed a commit to petemill/brave-core that referenced this pull request Jul 5, 2019
NejcZdovc pushed a commit that referenced this pull request Sep 18, 2019
Adds action to backup wallet notification
NejcZdovc pushed a commit that referenced this pull request Sep 19, 2019
Adds action to backup wallet notification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.