slosilo 3.0.1 → 3.0.2.pre.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +4 -4
- data/.gitignore +1 -1
- data/CHANGELOG.md +37 -12
- data/Jenkinsfile +85 -29
- data/lib/slosilo/version.rb +21 -2
- data/publish.sh +8 -0
- data/secrets.yml +1 -0
- data/slosilo.gemspec +12 -10
- data/test.sh +4 -23
- metadata +50 -36
- data/.dockerignore +0 -2
- data/publish-rubygem.sh +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b47974c0f9dbad57de4a9fca40cda18acb73a9132b7495f8d594731f6e9c4bf
|
4
|
+
data.tar.gz: 0a8d8740b26ea73d7c65521fb88af34009e5594ca458dc799349fa9dd35470b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a9b785c39b8c385809f5f276e422835b5e52adca9d68ec70fe7ea4fb73ddf8f9cded2d31cc48d90d75a533ba935d9ba5b72aea91eb6b728ff7ea0899319f785
|
7
|
+
data.tar.gz: eb95419fb809b01149ad494119b8c586aca7b1126bfd4e4a23e1c36168a1cd415e8e824061ff1a951d89bc6f8ccbfc4ecc1f1c6d0baf83232021909aa352d11e
|
data/.github/CODEOWNERS
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
* @cyberark/conjur-core-team @conjurinc/conjur-core-team @conjurdemos/conjur-core-team
|
1
|
+
* @cyberark/conjur-core-team @conjurinc/conjur-core-team @conjurdemos/conjur-core-team @conjur-enterprise/community-and-integrations
|
2
2
|
|
3
3
|
# Changes to .trivyignore require Security Architect approval
|
4
|
-
.trivyignore @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects
|
4
|
+
.trivyignore @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects @conjur-enterprise/conjur-security
|
5
5
|
|
6
6
|
# Changes to .codeclimate.yml require Quality Architect approval
|
7
|
-
.codeclimate.yml @cyberark/quality-architects @conjurinc/quality-architects @conjurdemos/quality-architects
|
7
|
+
.codeclimate.yml @cyberark/quality-architects @conjurinc/quality-architects @conjurdemos/quality-architects @conjur-enterprise/conjur-quality
|
8
8
|
|
9
9
|
# Changes to SECURITY.md require Security Architect approval
|
10
|
-
SECURITY.md @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects
|
10
|
+
SECURITY.md @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects @conjur-enterprise/conjur-security
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,25 +1,50 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
2
3
|
|
3
|
-
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [3.0.2] - 2023-11-14
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- Moved slosilo to Github Enterprise.
|
12
|
+
- Updated to use Ruby 3+ and conjur-enterprise/release-tools' publish-rubygem.
|
13
|
+
|
14
|
+
## [3.0.1] - 2023-02-10
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- The symmetric cipher class now encrypts and decrypts in a thread-safe manner.
|
4
19
|
[cyberark/slosilo#31](https://github.com/cyberark/slosilo/pull/31)
|
5
20
|
|
6
|
-
|
21
|
+
## [3.0.0] - 2022-02-01
|
7
22
|
|
8
|
-
|
23
|
+
### Changed
|
9
24
|
|
10
|
-
|
25
|
+
- Transition to Ruby 3. Consuming projects based on Ruby 2 shall use slosilo V2.X.X.
|
11
26
|
|
12
|
-
|
27
|
+
## [2.2.2] - 2014-01-01
|
28
|
+
|
29
|
+
## Added
|
30
|
+
|
31
|
+
- Add rake task `slosilo:recalculate_fingerprints` which rehashes the fingerprints in the keystore.
|
13
32
|
**Note**: After migrating the slosilo keystore, run the above rake task to ensure the fingerprints are correctly hashed.
|
14
33
|
|
15
|
-
|
34
|
+
## [2.2.1] - 2014-01-01
|
35
|
+
|
36
|
+
### Changed
|
37
|
+
|
38
|
+
- Use SHA256 algorithm instead of MD5 for public key fingerprints.
|
39
|
+
|
40
|
+
## [2.1.1] - 2014-01-01
|
16
41
|
|
17
|
-
|
42
|
+
### Added
|
18
43
|
|
19
|
-
|
44
|
+
- Add support for JWT-formatted tokens, with arbitrary expiration.
|
20
45
|
|
21
|
-
|
46
|
+
## [2.0.1] - 2014-01-01
|
22
47
|
|
23
|
-
|
48
|
+
### Fixed
|
24
49
|
|
25
|
-
|
50
|
+
- Fixes a bug that occurs when signing tokens containing Unicode data
|
data/Jenkinsfile
CHANGED
@@ -1,63 +1,120 @@
|
|
1
1
|
#!/usr/bin/env groovy
|
2
|
+
@Library("product-pipelines-shared-library") _
|
3
|
+
|
4
|
+
// Automated release, promotion and dependencies
|
5
|
+
properties([
|
6
|
+
// Include the automated release parameters for the build
|
7
|
+
release.addParams(),
|
8
|
+
// Dependencies of the project that should trigger builds
|
9
|
+
dependencies([])
|
10
|
+
])
|
11
|
+
|
12
|
+
// Performs release promotion. No other stages will be run
|
13
|
+
if (params.MODE == "PROMOTE") {
|
14
|
+
release.promote(params.VERSION_TO_PROMOTE) { infrapool, sourceVersion, targetVersion, assetDirectory ->
|
15
|
+
// Any assets from sourceVersion Github release are available in assetDirectory
|
16
|
+
// Any version number updates from sourceVersion to targetVersion occur here
|
17
|
+
// Any publishing of targetVersion artifacts occur here
|
18
|
+
// Anything added to assetDirectory will be attached to the Github Release
|
19
|
+
|
20
|
+
//Note: assetDirectory is on the infrapool agent, not the local Jenkins agent.
|
21
|
+
|
22
|
+
// Publish container images to internal registry
|
23
|
+
//INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "summon --yaml 'RUBYGEMS_API_KEY: !var rubygems/api-key' ${toolsDirectory}/bin/publish-rubygem slosilo"
|
24
|
+
|
25
|
+
infrapool.agentSh "./publish.sh"
|
26
|
+
|
27
|
+
infrapool.agentSh "cp slosilo*.gem ${assetDirectory}"
|
28
|
+
}
|
29
|
+
release.copyEnterpriseRelease(params.VERSION_TO_PROMOTE)
|
30
|
+
return
|
31
|
+
}
|
2
32
|
|
3
33
|
pipeline {
|
4
|
-
agent { label '
|
34
|
+
agent { label 'conjur-enterprise-common-agent' }
|
5
35
|
|
6
36
|
triggers {
|
7
37
|
cron(getDailyCronString())
|
8
38
|
}
|
9
39
|
|
40
|
+
environment {
|
41
|
+
// Sets the MODE to the specified or autocalculated value as appropriate
|
42
|
+
MODE = release.canonicalizeMode()
|
43
|
+
}
|
44
|
+
|
10
45
|
options {
|
11
46
|
timestamps()
|
12
47
|
buildDiscarder(logRotator(daysToKeepStr: '30'))
|
13
48
|
}
|
14
49
|
|
15
50
|
stages {
|
51
|
+
stage('Get InfraPool Agent') {
|
52
|
+
steps {
|
53
|
+
script {
|
54
|
+
INFRAPOOL_EXECUTORV2_AGENT_0 = getInfraPoolAgent.connected(type: "ExecutorV2", quantity: 1, duration: 1)[0]
|
55
|
+
INFRAPOOL_EXECUTORV2_RHEL_EE_AGENT_0 = getInfraPoolAgent.connected(type: "ExecutorV2RHELEE", quantity: 1, duration: 1)[0]
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
// Generates a VERSION file based on the current build number and latest version in CHANGELOG.md
|
61
|
+
stage('Validate Changelog and set version') {
|
62
|
+
steps {
|
63
|
+
script {
|
64
|
+
updateVersion(INFRAPOOL_EXECUTORV2_AGENT_0, "CHANGELOG.md", "${BUILD_NUMBER}")
|
65
|
+
INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'version_file', includes: "VERSION"
|
66
|
+
INFRAPOOL_EXECUTORV2_RHEL_EE_AGENT_0.agentUnstash name: 'version_file'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
16
71
|
stage('Test') {
|
17
72
|
parallel {
|
73
|
+
|
18
74
|
stage('Run tests on EE') {
|
19
|
-
agent { label 'executor-v2-rhel-ee' }
|
20
75
|
steps {
|
21
|
-
|
76
|
+
script {
|
77
|
+
INFRAPOOL_EXECUTORV2_RHEL_EE_AGENT_0.agentSh './test.sh'
|
78
|
+
}
|
22
79
|
}
|
23
80
|
post { always {
|
24
|
-
|
81
|
+
script {
|
82
|
+
INFRAPOOL_EXECUTORV2_RHEL_EE_AGENT_0.agentStash name: 'eeTestResults', includes: 'spec/reports/*.xml', allowEmpty:true
|
83
|
+
}
|
25
84
|
}}
|
26
85
|
}
|
27
86
|
|
28
87
|
stage('Run tests') {
|
29
88
|
steps {
|
30
|
-
|
89
|
+
script {
|
90
|
+
INFRAPOOL_EXECUTORV2_AGENT_0.agentSh './test.sh'
|
91
|
+
INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'TestResults', includes: 'spec/coverage/*.xml', allowEmpty:true
|
92
|
+
}
|
31
93
|
}
|
32
94
|
}
|
95
|
+
|
33
96
|
}
|
34
97
|
}
|
35
98
|
|
36
|
-
stage('
|
37
|
-
agent { label 'executor-v2' }
|
99
|
+
stage('Release') {
|
38
100
|
when {
|
39
|
-
|
40
|
-
|
41
|
-
boolean publish = false
|
42
|
-
|
43
|
-
try {
|
44
|
-
timeout(time: 5, unit: 'MINUTES') {
|
45
|
-
input(message: 'Publish to RubyGems?')
|
46
|
-
publish = true
|
47
|
-
}
|
48
|
-
} catch (final ignore) {
|
49
|
-
publish = false
|
50
|
-
}
|
51
|
-
|
52
|
-
return publish
|
53
|
-
}
|
101
|
+
expression {
|
102
|
+
MODE == "RELEASE"
|
54
103
|
}
|
55
104
|
}
|
56
105
|
|
57
106
|
steps {
|
58
|
-
|
59
|
-
|
60
|
-
|
107
|
+
script {
|
108
|
+
release(INFRAPOOL_EXECUTORV2_AGENT_0) { billOfMaterialsDirectory, assetDirectory, toolsDirectory ->
|
109
|
+
// Publish release artifacts to all the appropriate locations
|
110
|
+
// Copy any artifacts to assetDirectory to attach them to the Github release
|
111
|
+
|
112
|
+
// Publish container images to internal registry
|
113
|
+
INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "summon ${toolsDirectory}/bin/publish-rubygem slosilo"
|
114
|
+
|
115
|
+
INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "cp slosilo*.gem ${assetDirectory}"
|
116
|
+
}
|
117
|
+
}
|
61
118
|
}
|
62
119
|
}
|
63
120
|
}
|
@@ -67,12 +124,11 @@ pipeline {
|
|
67
124
|
dir('ee-results'){
|
68
125
|
unstash 'eeTestResults'
|
69
126
|
}
|
127
|
+
unstash 'TestResults'
|
70
128
|
junit 'spec/reports/*.xml, ee-results/spec/reports/*.xml'
|
71
129
|
cobertura coberturaReportFile: 'spec/coverage/coverage.xml'
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
cleanupAndNotify(currentBuild.currentResult)
|
130
|
+
codacy action: 'reportCoverage', filePath: "spec/coverage/coverage.xml"
|
131
|
+
releaseInfraPoolAgent(".infrapool/release_agents")
|
76
132
|
}
|
77
133
|
}
|
78
134
|
}
|
data/lib/slosilo/version.rb
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# Copyright 2013-2021 Conjur Inc.
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
# this software and associated documentation files (the "Software"), to deal in
|
5
|
+
# the Software without restriction, including without limitation the rights to
|
6
|
+
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
7
|
+
# the Software, and to permit persons to whom the Software is furnished to do so,
|
8
|
+
# subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
15
|
+
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
16
|
+
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
17
|
+
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
18
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
|
+
|
1
20
|
module Slosilo
|
2
|
-
VERSION =
|
3
|
-
end
|
21
|
+
VERSION = File.read(File.expand_path('../../VERSION', __dir__))
|
22
|
+
end
|
data/publish.sh
ADDED
data/secrets.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
RUBYGEMS_API_KEY: !var rubygems/api-key
|
data/slosilo.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.email = ["divided.mind@gmail.com"]
|
14
14
|
gem.description = %q{This gem provides an easy way of storing and retrieving encryption keys in the database.}
|
15
15
|
gem.summary = %q{Store SSL keys in a database}
|
16
|
-
gem.homepage = ""
|
16
|
+
gem.homepage = "https://github.cyberng.com/Conjur-Enterprise/slosilo/"
|
17
17
|
gem.license = "MIT"
|
18
18
|
|
19
19
|
gem.files = `git ls-files`.split($\)
|
@@ -24,13 +24,15 @@ Gem::Specification.new do |gem|
|
|
24
24
|
gem.version = Slosilo::VERSION
|
25
25
|
gem.required_ruby_version = '>= 3.0.0'
|
26
26
|
|
27
|
-
gem.add_development_dependency 'rake'
|
28
|
-
gem.add_development_dependency 'rspec', '~> 3.0'
|
29
|
-
gem.add_development_dependency 'ci_reporter_rspec'
|
30
|
-
gem.add_development_dependency 'simplecov'
|
31
|
-
gem.add_development_dependency 'simplecov-cobertura'
|
32
|
-
gem.add_development_dependency 'io-grab', '~> 0.0.1'
|
33
|
-
gem.add_development_dependency 'sequel' # for sequel tests
|
34
|
-
gem.add_development_dependency 'sqlite3' # for sequel tests
|
35
|
-
gem.add_development_dependency '
|
27
|
+
gem.add_development_dependency 'rake', '~> 13.0'
|
28
|
+
gem.add_development_dependency 'rspec', '~> 3.0' ###
|
29
|
+
gem.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
|
30
|
+
gem.add_development_dependency 'simplecov', '~> 0.22'
|
31
|
+
gem.add_development_dependency 'simplecov-cobertura', '~> 2.0'
|
32
|
+
gem.add_development_dependency 'io-grab', '~> 0.0.1' ###
|
33
|
+
gem.add_development_dependency 'sequel', '~> 5.0' # for sequel tests
|
34
|
+
gem.add_development_dependency 'sqlite3', '~> 1.6' # for sequel tests
|
35
|
+
gem.add_development_dependency 'bigdecimal', '~> 3.0' # for activesupport
|
36
|
+
gem.add_development_dependency 'activesupport', '~> 7.0' # for convenience in specs
|
36
37
|
end
|
38
|
+
|
data/test.sh
CHANGED
@@ -1,27 +1,8 @@
|
|
1
1
|
#!/bin/bash -xe
|
2
2
|
|
3
|
-
iid=slosilo-test-$(date +%s)
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
WORKDIR /app
|
8
|
-
COPY Gemfile slosilo.gemspec ./
|
9
|
-
RUN bundle
|
10
|
-
COPY . ./
|
11
|
-
RUN bundle
|
12
|
-
EOF
|
4
|
+
echo "==> Docker Run"
|
5
|
+
docker run --rm --volume $PWD:/app --workdir /app cyberark/ubuntu-ruby-builder bash -c 'git config --global --add safe.directory /app && bundle && bundle exec rake jenkins' || :
|
13
6
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
cid=$(cat $cidfile)
|
18
|
-
|
19
|
-
docker cp $cid:/app/spec/reports spec/
|
20
|
-
docker cp $cid:/app/coverage spec
|
21
|
-
|
22
|
-
docker rm $cid
|
23
|
-
|
24
|
-
# untag, will use cache next time if available but no junk will be left
|
25
|
-
docker rmi $iid
|
26
|
-
|
27
|
-
rm $cidfile
|
7
|
+
echo "==> CP Coverage to Spec"
|
8
|
+
cp -r coverage spec
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slosilo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2.pre.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Rzepecki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '13.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '13.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,44 +42,44 @@ dependencies:
|
|
42
42
|
name: ci_reporter_rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '1.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simplecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
61
|
+
version: '0.22'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
68
|
+
version: '0.22'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov-cobertura
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '2.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '2.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: io-grab
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,44 +98,58 @@ dependencies:
|
|
98
98
|
name: sequel
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '5.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '5.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sqlite3
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.6'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.6'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: bigdecimal
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
131
|
+
version: '3.0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
138
|
+
version: '3.0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: activesupport
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - "
|
143
|
+
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
145
|
+
version: '7.0'
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- - "
|
150
|
+
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
152
|
+
version: '7.0'
|
139
153
|
description: This gem provides an easy way of storing and retrieving encryption keys
|
140
154
|
in the database.
|
141
155
|
email:
|
@@ -144,7 +158,6 @@ executables: []
|
|
144
158
|
extensions: []
|
145
159
|
extra_rdoc_files: []
|
146
160
|
files:
|
147
|
-
- ".dockerignore"
|
148
161
|
- ".github/CODEOWNERS"
|
149
162
|
- ".gitignore"
|
150
163
|
- ".gitleaks.toml"
|
@@ -175,7 +188,8 @@ files:
|
|
175
188
|
- lib/slosilo/symmetric.rb
|
176
189
|
- lib/slosilo/version.rb
|
177
190
|
- lib/tasks/slosilo.rake
|
178
|
-
- publish
|
191
|
+
- publish.sh
|
192
|
+
- secrets.yml
|
179
193
|
- slosilo.gemspec
|
180
194
|
- spec/encrypted_attributes_spec.rb
|
181
195
|
- spec/file_adapter_spec.rb
|
@@ -188,7 +202,7 @@ files:
|
|
188
202
|
- spec/spec_helper.rb
|
189
203
|
- spec/symmetric_spec.rb
|
190
204
|
- test.sh
|
191
|
-
homepage:
|
205
|
+
homepage: https://github.cyberng.com/Conjur-Enterprise/slosilo/
|
192
206
|
licenses:
|
193
207
|
- MIT
|
194
208
|
metadata: {}
|
@@ -203,11 +217,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
217
|
version: 3.0.0
|
204
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
219
|
requirements:
|
206
|
-
- - "
|
220
|
+
- - ">"
|
207
221
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
222
|
+
version: 1.3.1
|
209
223
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
224
|
+
rubygems_version: 3.4.10
|
211
225
|
signing_key:
|
212
226
|
specification_version: 4
|
213
227
|
summary: Store SSL keys in a database
|
data/.dockerignore
DELETED
data/publish-rubygem.sh
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/bin/bash -e
|
2
|
-
|
3
|
-
docker pull registry.tld/conjurinc/publish-rubygem
|
4
|
-
|
5
|
-
git clean -fxd
|
6
|
-
|
7
|
-
summon --yaml "RUBYGEMS_API_KEY: !var rubygems/api-key" \
|
8
|
-
docker run --rm --env-file @SUMMONENVFILE -v "$(pwd)":/opt/src \
|
9
|
-
registry.tld/conjurinc/publish-rubygem slosilo
|
10
|
-
|
11
|
-
git clean -fxd
|