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

feat(commonPipelineEnvironment): encrypt CPE #4504

Merged
merged 14 commits into from
Sep 11, 2023

Conversation

m1ron0xFF
Copy link
Contributor

Changes

decrypt CPE from stdin
encrypt CPE to stdout

  • Tests
  • Documentation

@m1ron0xFF m1ron0xFF self-assigned this Aug 8, 2023
@m1ron0xFF m1ron0xFF requested a review from a team as a code owner August 8, 2023 07:49
@m1ron0xFF m1ron0xFF force-pushed the mironoff/encrypt-pipeline-env branch from 197091a to 098d6c6 Compare August 8, 2023 07:50
cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
@m1ron0xFF m1ron0xFF requested review from vstarostin and jliempt August 9, 2023 07:24
cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
@m1ron0xFF m1ron0xFF force-pushed the mironoff/encrypt-pipeline-env branch from 8e87cd3 to 19291b8 Compare August 14, 2023 07:15
@m1ron0xFF m1ron0xFF force-pushed the mironoff/encrypt-pipeline-env branch from 19291b8 to 69bdf60 Compare August 23, 2023 07:18
cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
@m1ron0xFF m1ron0xFF force-pushed the mironoff/encrypt-pipeline-env branch from ebd0216 to 3d2e1fc Compare August 29, 2023 07:29
@m1ron0xFF
Copy link
Contributor Author

/it-go

cmd/readPipelineEnv.go Outdated Show resolved Hide resolved
cmd/writePipelineEnv.go Outdated Show resolved Hide resolved
@m1ron0xFF m1ron0xFF requested a review from jliempt September 8, 2023 07:33
@m1ron0xFF
Copy link
Contributor Author

/it-go

@m1ron0xFF
Copy link
Contributor Author

/it-go

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@m1ron0xFF m1ron0xFF merged commit 3eb4f16 into master Sep 11, 2023
@m1ron0xFF m1ron0xFF deleted the mironoff/encrypt-pipeline-env branch September 11, 2023 08:58
daskuznetsova pushed a commit to daskuznetsova/jenkins-library that referenced this pull request Oct 13, 2023
* encrypt CPE - init

* fix

* disable encrypt on Jenkins

* get PIPER_pipelineEnv_SECRET from vault

* reuse artifactPrepareVersionOptions

* encrypt only with orchestrator.GitHubActions

* Workaround: orchestrators expect json

* add encryptedCPE flag

* remove JSON workaround

* throw error if stepConfigPassword is empty

* fix log messages

---------

Co-authored-by: Egor Balakin <[email protected]>
andrew-kireev pushed a commit that referenced this pull request Oct 17, 2023
* encrypt CPE - init

* fix

* disable encrypt on Jenkins

* get PIPER_pipelineEnv_SECRET from vault

* reuse artifactPrepareVersionOptions

* encrypt only with orchestrator.GitHubActions

* Workaround: orchestrators expect json

* add encryptedCPE flag

* remove JSON workaround

* throw error if stepConfigPassword is empty

* fix log messages

---------

Co-authored-by: Egor Balakin <[email protected]>
maxatsap pushed a commit to maxatsap/jenkins-library that referenced this pull request Jul 23, 2024
* encrypt CPE - init

* fix

* disable encrypt on Jenkins

* get PIPER_pipelineEnv_SECRET from vault

* reuse artifactPrepareVersionOptions

* encrypt only with orchestrator.GitHubActions

* Workaround: orchestrators expect json

* add encryptedCPE flag

* remove JSON workaround

* throw error if stepConfigPassword is empty

* fix log messages

---------

Co-authored-by: Egor Balakin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants