Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

provide code signing #5

Closed
wants to merge 2 commits into from
Closed

provide code signing #5

wants to merge 2 commits into from

Conversation

marcusholl
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jan 19, 2018

CLA assistant check
All committers have signed the CLA.

@marcusholl marcusholl requested a review from 1084565 January 19, 2018 15:16
@marcusholl marcusholl force-pushed the marcusholl/pr/codesign branch 2 times, most recently from 61123f9 to 6353851 Compare January 22, 2018 08:53
@@ -2,14 +2,20 @@ language: java
sudo: false
jdk:
- oraclejdk8

install: mvn clean package
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dedicated settings file provided since this file "imports" the environment variable which holds the secrets for GPG_KEY_NAME and GPG_PASSPHRASE into maven.
Phase changed from "package" to "verify" since code signing binds per default to "verify".

cache:
directories:
- $HOME/.m2
before_install:
- openssl aes-256-cbc -K $encrypted_d5d7c7a681ca_key -iv $encrypted_d5d7c7a681ca_iv
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The private key used for code signing is contained in an encrypted format in the project sources. Before we can use this private key the key needs

  • to be decrypted
  • put into the keychain

.travis.yml Outdated
- gpg --fast-import codesigning.asc
env:
global:
- secure: HUcHmYOSdDxee86RxYW4QI/Yele4p56CiUq1Iy+O6pOb9Nx4jVWoQbgum80gO94D7eHYfURpQvIhvGNeQwimfN6IdEnpoi6b1yXpRi0Y8oLl4bXfcDUwzS0wiXr4vMeVG2F/P43Fqo/8QDaJgfnIHwimG57teSGTd4Zzu1iiJayi0jyvGw20ne5tNHTkLj2niJ07+bM5hlE9+M1hCWMuG+i7FNgFhlafc27Ebvix9hcxZz2u0oH/NnWDcNuG90O4CLnMNjIqr7kBzJ0sQxTIW9prRSUTYLmC4aSLVdLDOXzB55K+ZDjq4qHzFtzaI1pWm/ukKCHzzU+JC3W6hMnxd4i55+SLh8T57Ds4sZUQr0y5BUNzD45wFJ638xOpuydRAghA01f3cPcJDxkS3/nArGUrILAvRvZlCGGnorBZ59slIyVp0HGsNsKY8OsRk4ugUvpGKQDIxlHRP7zZK8qkTQ+mGXlh45rR+Y0NdBUOt1MB1PuSNcj38ptn0GMpWzcfeL5C+ZrSgc9u7TWb58L6n1RpIi0NCSZTlWq5J1FScMmY9T/O8itYAx6cducjLPoiFHvnmCpTvzFFPngG9IJEKTw325qJ2lz5a7g4VqfCURojAz3+p73RikY+WxS5x4jXTuBT3Kc79DL/7GuLur8/8qLIPekkruyIYMrzv2g5lGQ=
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Encrypted passphase and key identifier

@marcusholl marcusholl force-pushed the marcusholl/pr/codesign branch 3 times, most recently from f70dacb to dc2a153 Compare January 22, 2018 10:27
@marcusholl marcusholl force-pushed the marcusholl/pr/codesign branch from dc2a153 to 7d53108 Compare January 22, 2018 10:39
@marcusholl
Copy link
Contributor Author

superseeded by #13

@marcusholl marcusholl closed this Feb 1, 2018
@marcusholl marcusholl deleted the marcusholl/pr/codesign branch February 2, 2018 15:12
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants