Compare commits

..

19 commits
1.46 ... main

Author SHA1 Message Date
Evan Su
8413919078
Update VERSION to 1.49
Some checks failed
build / build (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
No code changes but sync with main GUI repo.
2025-08-03 11:32:49 -04:00
Evan Su
f6be92c11a
Merge pull request #47 from Picocrypt/dependabot/go_modules/picocrypt/golang.org/x/crypto-0.40.0
Bump golang.org/x/crypto from 0.37.0 to 0.40.0 in /picocrypt
2025-08-03 11:29:17 -04:00
dependabot[bot]
fd67f7e44f
Bump golang.org/x/crypto from 0.37.0 to 0.40.0 in /picocrypt
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.37.0 to 0.40.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 04:08:33 +00:00
Evan Su
14b49f0951
Merge pull request #42 from Picocrypt/better-cleanup-and-zip-info
Better cleanup and zip info
2025-04-12 20:31:22 -04:00
Evan Su
95ee00dd6b do a scan for possibly missed temp zip files and del
if they exist
2025-04-12 20:27:55 -04:00
Evan Su
c8b25c04a2 Bump VERSION to 1.48 2025-04-12 20:16:00 -04:00
Evan Su
125cdd818e go get -u -v all && go mod tidy 2025-04-12 20:13:17 -04:00
Evan Su
9801754e55
Update README.md: redirect issues to main repo 2025-04-10 12:13:44 -04:00
Evan Su
c86a70bdfa
Merge pull request #41 from Picocrypt/dependabot/go_modules/picocrypt/golang.org/x/crypto-0.37.0
Bump golang.org/x/crypto from 0.36.0 to 0.37.0 in /picocrypt
2025-04-09 23:55:28 -04:00
dependabot[bot]
ec20601dd3
Bump golang.org/x/crypto from 0.36.0 to 0.37.0 in /picocrypt
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 04:02:27 +00:00
Evan Su
53eb964e71
Merge pull request #39 from Picocrypt/dependabot/go_modules/picocrypt/golang.org/x/crypto-0.36.0
Bump golang.org/x/crypto from 0.35.0 to 0.36.0 in /picocrypt
2025-03-07 19:27:26 -05:00
dependabot[bot]
d78c5e2b3b
Bump golang.org/x/crypto from 0.35.0 to 0.36.0 in /picocrypt
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 03:32:19 +00:00
Evan Su
9d468944b4
Merge pull request #36 from Picocrypt/dependabot/go_modules/picocrypt/golang.org/x/crypto-0.35.0
Bump golang.org/x/crypto from 0.34.0 to 0.35.0 in /picocrypt
2025-03-01 13:35:51 -05:00
dependabot[bot]
787053b237
Bump golang.org/x/crypto from 0.34.0 to 0.35.0 in /picocrypt
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 03:55:13 +00:00
Evan Su
e3c22b8521
Update go.mod: require go1.24
Some checks failed
CodeQL / Analyze (push) Has been cancelled
2025-02-24 18:16:29 -05:00
Evan Su
81caa2b10f
Merge pull request #35 from Picocrypt/dependabot/go_modules/picocrypt/golang.org/x/crypto-0.34.0
Bump golang.org/x/crypto from 0.33.0 to 0.34.0 in /picocrypt
2025-02-24 18:15:35 -05:00
dependabot[bot]
e165e361d5
Bump golang.org/x/crypto from 0.33.0 to 0.34.0 in /picocrypt
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 04:06:13 +00:00
Evan Su
f8a8ce7569
Update go.mod: bring go 1.24 down to 1.23
Some checks failed
CodeQL / Analyze (push) Has been cancelled
2025-02-22 00:58:48 -05:00
Evan Su
308600d22c
Update VERSION
Some checks failed
build / build (push) Has been cancelled
2025-02-19 20:42:07 -05:00
5 changed files with 32 additions and 16 deletions

View file

@ -34,3 +34,6 @@ To decrypt a volume:
```
picocrypt volume.pcv
```
## Issues
Report any issues to the main Picocrypt/Picocrypt repository and prefix the title with 'CLI:'.

View file

@ -1 +1 @@
1.46
1.49

View file

@ -1,17 +1,19 @@
module github.com/Picocrypt/CLI/picocrypt
go 1.24
go 1.24.0
toolchain go1.24.1
require (
github.com/Picocrypt/infectious v0.0.0-20240830233326-3a050f65f9ec
github.com/Picocrypt/infectious v0.0.0-20250412183341-9f88c6307b39
github.com/Picocrypt/serpent v0.0.0-20240830233833-9ad6ab254fd7
github.com/schollz/progressbar/v3 v3.18.0
golang.org/x/crypto v0.33.0
golang.org/x/term v0.29.0
golang.org/x/crypto v0.40.0
golang.org/x/term v0.33.0
)
require (
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/rivo/uniseg v0.4.7 // indirect
golang.org/x/sys v0.30.0 // indirect
golang.org/x/sys v0.34.0 // indirect
)

View file

@ -1,5 +1,5 @@
github.com/Picocrypt/infectious v0.0.0-20240830233326-3a050f65f9ec h1:/cop0/v0HxIJm1XGDgIlzNJ3e4HhM8nIUPZi5RZ/n1w=
github.com/Picocrypt/infectious v0.0.0-20240830233326-3a050f65f9ec/go.mod h1:aaFq/WMVxrU2Exl/tXbTFSXajZrqw0mgn/wi42n0fK4=
github.com/Picocrypt/infectious v0.0.0-20250412183341-9f88c6307b39 h1:czHyPoiNrILv9xjfQ87UFllJgak8W6gVcYkmfOay/BE=
github.com/Picocrypt/infectious v0.0.0-20250412183341-9f88c6307b39/go.mod h1:2ZVEanURxuWmxYZ6W6xMMy4ZR6xmQr16Vq/XPTLIspQ=
github.com/Picocrypt/serpent v0.0.0-20240830233833-9ad6ab254fd7 h1:G36G2vmQAS7CVoHQrHDGAoCWll/0kPCI8Dk7mgwcJFE=
github.com/Picocrypt/serpent v0.0.0-20240830233833-9ad6ab254fd7/go.mod h1:BxsgRYwUVd92aEwXnXsfXfHw8aHlD/PUyExC/wwk9oI=
github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7mk9/PwM=
@ -18,11 +18,11 @@ github.com/schollz/progressbar/v3 v3.18.0 h1:uXdoHABRFmNIjUfte/Ex7WtuyVslrw2wVPQ
github.com/schollz/progressbar/v3 v3.18.0/go.mod h1:IsO3lpbaGuzh8zIMzgY3+J8l4C8GjO0Y9S69eFvNsec=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM=
golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY=
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg=
golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

View file

@ -185,7 +185,7 @@ func compress() int {
return 1
}
dir = filepath.ToSlash(dir)
file, err = os.CreateTemp("", "picocrypt-cli-v2-*.tmp")
file, err = os.CreateTemp("", "picocrypt-cli-v2-*.zip.tmp")
if err != nil {
fmt.Println("Cannot create temporary file!")
return 1
@ -193,6 +193,8 @@ func compress() int {
pzip = file.Name()
writer = zip.NewWriter(file)
fmt.Println("Info: creating temporary zip file " + pzip)
for i, path := range files {
stat, err := os.Stat(path)
if err != nil {
@ -344,7 +346,7 @@ func work() int {
hkdfSalt = make([]byte, 32)
serpentIV = make([]byte, 16)
nonce = make([]byte, 24)
_, errs[0] = fout.Write(rsEncode(rs5, []byte("v1.46")))
_, errs[0] = fout.Write(rsEncode(rs5, []byte("v1.48")))
_, errs[1] = fout.Write(rsEncode(rs5, []byte("00000")))
flags := make([]byte, 5)
if *p {
@ -685,4 +687,13 @@ func main() {
}
os.Exit(1)
}
td := os.TempDir()
matches, err := filepath.Glob(filepath.Join(td, "picocrypt-cli-v2-*.zip.tmp"))
if err != nil {
panic(err)
}
for _, v := range matches {
os.Remove(v)
}
}