Skip to content

chore: pin ubgo/crypt to v0.2.0 - #1

Merged
khanakia merged 1 commit into
mainfrom
chore/crypt-v0.2.0
Sep 28, 2026
Merged

khanakia merged 1 commit into
mainfrom
chore/crypt-v0.2.0

Conversation

@khanakia

Copy link
Copy Markdown
Member

Replaces the github.com/ubgo/crypt pseudo-version v0.0.0-20260504095124-aefc1abb0446 with the released v0.2.0.

Modules bumped

  • encryptedtype: direct requirement
  • passwordtype: direct requirement
  • ent_encryptedtype: indirect requirement
  • ent_passwordtype: indirect requirement
  • examples: indirect requirement

Each module was updated with go get github.com/ubgo/crypt@v0.2.0 and go mod tidy. go work sync was also tried, but it bumped entgo.io/ent in unrelated modules and reordered go.work, so those changes were left out to keep this PR scoped to crypt. The only source differences between the two crypt versions in the APIs entkit uses (Seal/NewSealer, OpenAuto, EncryptCBC, HashPassword/VerifyPassword) are an injectable random reader and doc comments. CHANGELOG has an Unreleased entry.

Test results

  • task test (every module): all pass
  • task vet: clean
  • task test:race: all pass
  • task lint (golangci-lint, every module): 0 issues
  • examples demo (go run ./cmd/demo): all checkpoints passed

🤖 Generated with Claude Code

Replace the pseudo-version v0.0.0-20260504095124-aefc1abb0446 with the
released v0.2.0 in encryptedtype and passwordtype (direct) and in
ent_encryptedtype, ent_passwordtype and examples (indirect). The only
source changes between the two crypt versions used here are an
injectable random reader and doc comments, so behaviour is unchanged.
@khanakia
khanakia merged commit 0316ed1 into main Sep 28, 2026
19 checks passed
@khanakia
khanakia deleted the chore/crypt-v0.2.0 branch September 28, 2026 11:05
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.

1 participant