Skip to content

Tags: hashicorp/go-secure-stdlib

Tags

plugincontainer/v0.4.2

Toggle plugincontainer/v0.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[VAULT-38910]: plugincontainer: upgrade docker to resolve GO-2025-3829 (

#168)

* [VAULT-38910]: upgrade docker package to resolve GO-2025-3829

* go: bump Go module version to 1.24.6
* run on Ubuntu 22.04 because rootlesskit on Ubuntu 24.04 is wonky

Signed-off-by: Ryan Cragun <[email protected]>

configutil/v2.0.13

Toggle configutil/v2.0.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update CODEOWNERS to new shared tech team and fix mod tidy issue (#167)

Fix a `mod tidy` issue in configutil

pluginutil/v2.0.8

Toggle pluginutil/v2.0.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update x/crypto in pluginutil (#162)

password/v0.1.4

Toggle password/v0.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update x/crypto in password (#161)

listenerutil/v0.1.10

Toggle listenerutil/v0.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update x/crypto in listenerutil (#164)

configutil/v2.0.12

Toggle configutil/v2.0.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update x/crypto in configutil (#163)

parseutil/v0.2.0

Toggle parseutil/v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Creates the NormalizeAddr Func to Format IPv6 Addresses (#157)

Create NormalizeAddr which accepts addresses and returns a formatted copy of that address conformant with RFC5952

---------

Co-authored-by: Danielle Miu <[email protected]>

regexp/v1.0.0

Toggle regexp/v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[VAULT-21456] Add a drop in replacement for the Go regexp package tha…

…t interns regular expressions (#156)

* Drop in replacement for the Go regexp package that does temporal caching of pattern compilation

* Weak value version:  Implements a poor man's weak valued map, which captures finalization of the Regexps to clear the maps

* fix locking semantics

* fix locking in other func, and use the right base maps

* Rename to be distinct from the original functions and thus not as subtle to later authors where used

* Simplify locking, add benchmarks

* remove unneeded deps

* Refactor the code to use weak pointers for weak map implementation

* If a weak pointer is nil, remove the entry from maps

* Add regexp to the module list in the GitHub Actions go.yml workflow file, so that the tests for it are run in CI

* Update the Go directive in go.mod to version 1.24, so that it's clear what stdlib version to use with this module

* Swap RWMutex for a Mutex

* Tidying up based on PR feedback; rename some variables to fix shadowing issues, fix returns in compile and mustComplile, edit a comment

* Fix the formatting of go.yml to resolve a git conflict with main branch

* Refactor mustCompile to wrap compile in a closure to reduce code duplication

* Tidy up imports in regexp/regexp_test.go

* Refactor compile and mustCompile to only delete the pointers from the map passed in as an argument and the reverseMap; clean up some comments

* Rename cleanup to cleanupCollectedPointers and refactor it to only delete entries from either the POSIX or non-POSIX map, rather than both

* Add a retry mechanism with a timeout to TestInternedRegexps

* Add a test that ensures that the cleanup function does not confuse POSIX and non-POSIX regexs

---------

Co-authored-by: Scott G. Miller <[email protected]>

permitpool/v1.0.0

Toggle permitpool/v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
permitpool: add new module (#153)

The permitpool module contains a single package that
implements a pool of permits, allowing limited number
of concurrent executions.

parseutil/v0.1.9

Toggle parseutil/v0.1.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add backwards compatible changes to ParsePath for extra behaviors (#154)

* Add backwards compatible changes to ParsePath for extra behaviors

* No need to export these

* overzealous search/replace

* remove test code

* handle trim in the ErrNotAURL case