Skip to content

Commit 926d5a5

Browse files
authored
Merge pull request #155 from TMUniversal/main
Update v2 branch with latest changes
2 parents 08e400b + f81ab87 commit 926d5a5

16 files changed

Lines changed: 253 additions & 222 deletions

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
- uses: crazy-max/ghaction-upx@db8cc9515a4a7ea1b312cb82fbeae6d716daf777 # v3.2.0
4242
with:
4343
install-only: true
44-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
44+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4545
with:
4646
go-version-file: go.mod
4747
check-latest: true
4848
cache-dependency-path: "**/*.sum"
49-
- uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
50-
- uses: anchore/sbom-action/download-syft@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0.20.4
49+
- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
50+
- uses: anchore/sbom-action/download-syft@f8bdd1d8ac5e901a77a92f111440fdb1b593736b # v0.20.6
5151
- name: setup-tparse
5252
run: go install github.com/mfridman/tparse@latest
5353
- name: Install dependencies
@@ -63,7 +63,7 @@ jobs:
6363
run: task test
6464
- name: Run go tests with coverage for github actions
6565
run: ./scripts/test.sh
66-
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
66+
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
6767
with:
6868
file: ./coverage.txt
6969
- run: ./papercrypt version

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939

40-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
40+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4141
with:
4242
go-version-file: go.mod
4343
check-latest: true

.github/workflows/depsreview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
13-
- uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
13+
- uses: actions/dependency-review-action@56339e523c0409420f6c2c9a2f4292bbb3c07dd3 # v4.8.0
1414
with:
1515
config-file: "./.github/dependency-review-config.yml"

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
21+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2222
with:
2323
go-version: stable
2424
cache: false

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
21+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2222
with:
2323
go-version-file: go.mod
2424
check-latest: true
@@ -31,7 +31,7 @@ jobs:
3131
repo-token: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Install GoReleaser
34-
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
34+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
3535
with:
3636
install-only: true
3737

@@ -56,7 +56,7 @@ jobs:
5656
fetch-depth: 0
5757

5858
- name: Set up Go
59-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
59+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
6060
with:
6161
go-version-file: go.mod
6262
check-latest: true
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
steps:
8787
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
88-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
88+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
8989
with:
9090
go-version: stable
9191
cache: false
@@ -114,7 +114,7 @@ jobs:
114114
run: git fetch --force --tags
115115

116116
- name: Set up Go
117-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
117+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
118118
with:
119119
go-version-file: go.mod
120120
check-latest: true
@@ -125,11 +125,11 @@ jobs:
125125
run: echo "GOVERSION=$(go version)" >> $GITHUB_OUTPUT
126126

127127
- name: Set up Node
128-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
128+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
129129
with:
130130
node-version: 22
131131

132-
- uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
132+
- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
133133
- name: Confirm cosign installation
134134
run: cosign version
135135

@@ -150,11 +150,11 @@ jobs:
150150
repo-token: ${{ secrets.GITHUB_TOKEN }}
151151

152152
- name: Install GoReleaser
153-
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
153+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
154154
with:
155155
install-only: true
156156

157-
- uses: anchore/sbom-action/download-syft@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0.20.4
157+
- uses: anchore/sbom-action/download-syft@f8bdd1d8ac5e901a77a92f111440fdb1b593736b # v0.20.6
158158

159159
- name: Set up QEMU
160160
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0

.goreleaser.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ docker_signs:
122122

123123
homebrew_casks:
124124
- name: papercrypt
125-
conflicts:
126-
- formula: papercrypt
127125
# alternative_names:
128126
# - papercrypt@{{ .Version }}
129127
# - papercrypt@{{ .Major }}.{{ .Minor }}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## [2.0.3](https://github.com/TMUniversal/papercrypt/compare/v2.0.2...v2.0.3) (2025-09-28)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** update module github.com/caarlos0/go-version to v0.2.2 ([7ae85c4](https://github.com/TMUniversal/papercrypt/commit/7ae85c4e170a83b9bbcb140218637d257e13b0ef))
7+
* **deps:** update module github.com/muesli/mango-cobra to v1.3.0 ([6ed0cdf](https://github.com/TMUniversal/papercrypt/commit/6ed0cdfe3bc25e22be9e92a6d56e9b9c4f77b643))
8+
* **deps:** update module github.com/spf13/cobra to v1.10.1 ([48d0a3f](https://github.com/TMUniversal/papercrypt/commit/48d0a3f772c384cab8689782605e1bc59467503a))
9+
* **deps:** update module github.com/stretchr/testify to v1.11.1 ([f9361d9](https://github.com/TMUniversal/papercrypt/commit/f9361d941dbd9ea205246fec2b1589d30dfa2f9c))
10+
* **deps:** update module golang.org/x/term to v0.35.0 ([00a4339](https://github.com/TMUniversal/papercrypt/commit/00a4339d3d3c23d4d7ad81748cc7e95c773991c4))
11+
112
## [2.0.2](https://github.com/TMUniversal/papercrypt/compare/v2.0.1...v2.0.2) (2025-08-12)
213

314

THIRD_PARTY.md

Lines changed: 73 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,37 @@ IN THE SOFTWARE.
102102

103103
```
104104

105+
## github.com/ProtonMail/gopenpgp/v3
106+
107+
* Name: github.com/ProtonMail/gopenpgp/v3
108+
* Version: v3.3.0
109+
* License: [MIT](https://github.com/ProtonMail/gopenpgp/blob/v3.3.0/LICENSE)
110+
111+
```md
112+
(The MIT License)
113+
114+
Copyright (c) 2019 Proton Technologies AG
115+
116+
Permission is hereby granted, free of charge, to any person obtaining a copy
117+
of this software and associated documentation files (the "Software"), to
118+
deal in the Software without restriction, including without limitation the
119+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
120+
sell copies of the Software, and to permit persons to whom the Software is
121+
furnished to do so, subject to the following conditions:
122+
123+
The above copyright notice and this permission notice shall be included in
124+
all copies or substantial portions of the Software.
125+
126+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
127+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
128+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
129+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
130+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
131+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
132+
IN THE SOFTWARE.
133+
134+
```
135+
105136
## github.com/aymanbagabas/go-osc52/v2
106137

107138
* Name: github.com/aymanbagabas/go-osc52/v2
@@ -167,23 +198,31 @@ SOFTWARE.
167198
## github.com/caarlos0/go-version
168199

169200
* Name: github.com/caarlos0/go-version
170-
* Version: v0.2.1
171-
* License: [Apache-2.0](https://github.com/caarlos0/go-version/blob/v0.2.1/LICENSE.md)
201+
* Version: v0.2.2
202+
* License: [MIT](https://github.com/caarlos0/go-version/blob/v0.2.2/LICENSE.md)
172203

173204
```md
174-
Copyright 2022 The Kubernetes Authors.
205+
The MIT License (MIT)
175206

176-
Licensed under the Apache License, Version 2.0 (the "License");
177-
you may not use this file except in compliance with the License.
178-
You may obtain a copy of the License at
207+
Copyright (c) 2025 Carlos Alexandro Becker
179208

180-
http://www.apache.org/licenses/LICENSE-2.0
209+
Permission is hereby granted, free of charge, to any person obtaining a copy
210+
of this software and associated documentation files (the "Software"), to deal
211+
in the Software without restriction, including without limitation the rights
212+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
213+
copies of the Software, and to permit persons to whom the Software is
214+
furnished to do so, subject to the following conditions:
215+
216+
The above copyright notice and this permission notice shall be included in all
217+
copies or substantial portions of the Software.
181218

182-
Unless required by applicable law or agreed to in writing, software
183-
distributed under the License is distributed on an "AS IS" BASIS,
184-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
185-
See the License for the specific language governing permissions and
186-
limitations under the License.
219+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
220+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
221+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
222+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
223+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
224+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
225+
SOFTWARE.
187226

188227
```
189228

@@ -277,8 +316,8 @@ SOFTWARE.
277316
## github.com/charmbracelet/colorprofile
278317

279318
* Name: github.com/charmbracelet/colorprofile
280-
* Version: v0.3.1
281-
* License: [MIT](https://github.com/charmbracelet/colorprofile/blob/v0.3.1/LICENSE)
319+
* Version: v0.3.2
320+
* License: [MIT](https://github.com/charmbracelet/colorprofile/blob/v0.3.2/LICENSE)
282321

283322
```md
284323
MIT License
@@ -593,8 +632,8 @@ SOFTWARE.
593632
## github.com/lucasb-eyer/go-colorful
594633

595634
* Name: github.com/lucasb-eyer/go-colorful
596-
* Version: v1.2.0
597-
* License: [MIT](https://github.com/lucasb-eyer/go-colorful/blob/v1.2.0/LICENSE)
635+
* Version: v1.3.0
636+
* License: [MIT](https://github.com/lucasb-eyer/go-colorful/blob/v1.3.0/LICENSE)
598637

599638
```md
600639
Copyright (c) 2013 Lucas Beyer
@@ -908,8 +947,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
908947
## github.com/mattn/go-runewidth
909948

910949
* Name: github.com/mattn/go-runewidth
911-
* Version: v0.0.16
912-
* License: [MIT](https://github.com/mattn/go-runewidth/blob/v0.0.16/LICENSE)
950+
* Version: v0.0.17
951+
* License: [MIT](https://github.com/mattn/go-runewidth/blob/v0.0.17/LICENSE)
913952

914953
```md
915954
The MIT License (MIT)
@@ -1001,8 +1040,8 @@ SOFTWARE.
10011040
## github.com/muesli/mango-cobra
10021041

10031042
* Name: github.com/muesli/mango-cobra
1004-
* Version: v1.2.0
1005-
* License: [MIT](https://github.com/muesli/mango-cobra/blob/v1.2.0/LICENSE)
1043+
* Version: v1.3.0
1044+
* License: [MIT](https://github.com/muesli/mango-cobra/blob/v1.3.0/LICENSE)
10061045

10071046
```md
10081047
MIT License
@@ -1032,8 +1071,8 @@ SOFTWARE.
10321071
## github.com/muesli/mango-pflag
10331072

10341073
* Name: github.com/muesli/mango-pflag
1035-
* Version: v0.1.0
1036-
* License: [MIT](https://github.com/muesli/mango-pflag/blob/v0.1.0/LICENSE)
1074+
* Version: v0.2.0
1075+
* License: [MIT](https://github.com/muesli/mango-pflag/blob/v0.2.0/LICENSE)
10371076

10381077
```md
10391078
MIT License
@@ -1189,8 +1228,8 @@ SOFTWARE.
11891228
## github.com/spf13/cobra
11901229

11911230
* Name: github.com/spf13/cobra
1192-
* Version: v1.9.1
1193-
* License: [Apache-2.0](https://github.com/spf13/cobra/blob/v1.9.1/LICENSE.txt)
1231+
* Version: v1.10.1
1232+
* License: [Apache-2.0](https://github.com/spf13/cobra/blob/v1.10.1/LICENSE.txt)
11941233

11951234
```md
11961235
Apache License
@@ -1373,8 +1412,8 @@ SOFTWARE.
13731412
## github.com/spf13/pflag
13741413

13751414
* Name: github.com/spf13/pflag
1376-
* Version: v1.0.7
1377-
* License: [BSD-3-Clause](https://github.com/spf13/pflag/blob/v1.0.7/LICENSE)
1415+
* Version: v1.0.10
1416+
* License: [BSD-3-Clause](https://github.com/spf13/pflag/blob/v1.0.10/LICENSE)
13781417

13791418
```md
13801419
Copyright (c) 2012 Alex Ogier. All rights reserved.
@@ -1442,8 +1481,8 @@ SOFTWARE.
14421481
## golang.org/x/crypto
14431482

14441483
* Name: golang.org/x/crypto
1445-
* Version: v0.41.0
1446-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/v0.41.0:LICENSE)
1484+
* Version: v0.42.0
1485+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/v0.42.0:LICENSE)
14471486

14481487
```md
14491488
Copyright 2009 The Go Authors.
@@ -1479,8 +1518,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14791518
## golang.org/x/sys
14801519

14811520
* Name: golang.org/x/sys
1482-
* Version: v0.35.0
1483-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.35.0:LICENSE)
1521+
* Version: v0.36.0
1522+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.36.0:LICENSE)
14841523

14851524
```md
14861525
Copyright 2009 The Go Authors.
@@ -1516,8 +1555,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15161555
## golang.org/x/term
15171556

15181557
* Name: golang.org/x/term
1519-
* Version: v0.34.0
1520-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/term/+/v0.34.0:LICENSE)
1558+
* Version: v0.35.0
1559+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/term/+/v0.35.0:LICENSE)
15211560

15221561
```md
15231562
Copyright 2009 The Go Authors.
@@ -1553,8 +1592,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15531592
## golang.org/x/text
15541593

15551594
* Name: golang.org/x/text
1556-
* Version: v0.28.0
1557-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.28.0:LICENSE)
1595+
* Version: v0.29.0
1596+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.29.0:LICENSE)
15581597

15591598
```md
15601599
Copyright 2009 The Go Authors.

0 commit comments

Comments
 (0)