Tags: hashicorp/go-secure-stdlib
Tags
[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]>
Update CODEOWNERS to new shared tech team and fix mod tidy issue (#167) Fix a `mod tidy` issue in configutil
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]>
[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: add new module (#153) The permitpool module contains a single package that implements a pool of permits, allowing limited number of concurrent executions.
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
PreviousNext