diff --git a/docs/config.md b/docs/config.md index fd6aecb..568b486 100644 --- a/docs/config.md +++ b/docs/config.md @@ -240,8 +240,10 @@ inputs: and a missing or empty explicit selection is an error. - Each immediate regular file whose name is a valid environment-variable name supplies one value. ConfigKit removes trailing CR/LF, permits a symlink as the - selected directory, rejects symlink entries, and limits input to 1 MiB per - file, 8 MiB total, and 1024 entries. + selected directory, rejects non-hidden symlink entries, and limits input to + 1 MiB per file, 8 MiB total, and 1024 entries. Dot-prefixed entries (including + files, directories, and symlinks) are ignored and omitted from bootstrap + reports, but still count toward the directory entry limit. - An existing process environment value takes precedence over a credential file. - On POSIX, operators must provision the directory with no group/other access (normally `0700`) and files with no group/other access (normally `0600`); diff --git a/docs/releases/v2.1.2.md b/docs/releases/v2.1.2.md new file mode 100644 index 0000000..d0a19b0 --- /dev/null +++ b/docs/releases/v2.1.2.md @@ -0,0 +1,26 @@ +# Narratio v2.1.2 + +This release allows secrets directories to contain hidden metadata without +preventing credential loading. + +## Summary + +ConfigKit v0.3.1 ignores dot-prefixed entries such as `.git`, `.gitignore`, and +`.DS_Store` during secrets bootstrap. These entries no longer block otherwise +valid credentials from loading and are omitted from bootstrap reports. + +## Compatibility + +This is a backward-compatible dependency bug fix. Configuration schemas, +existing-environment precedence, and validation of non-hidden entries are +unchanged. Hidden entries still count toward the directory entry limit. + +## Upgrade + +No special upgrade action or configuration migration is required. See the +[credential configuration reference](../config.md) for secrets-directory usage. + +## Changes + +- Updated ConfigKit from v0.3.0 to v0.3.1. +- Clarified hidden-entry handling in the secrets-directory documentation. diff --git a/go.mod b/go.mod index 0efa79e..639b29c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module gitea.maximumdirect.net/eric/narratio go 1.26.0 require ( - gitea.maximumdirect.net/eric/ConfigKit v0.3.0 + gitea.maximumdirect.net/eric/ConfigKit v0.3.1 github.com/aws/aws-sdk-go-v2/config v1.32.17 github.com/aws/aws-sdk-go-v2/credentials v1.19.16 github.com/aws/aws-sdk-go-v2/service/s3 v1.101.0 diff --git a/go.sum b/go.sum index 8c8de61..08c8dc1 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -gitea.maximumdirect.net/eric/ConfigKit v0.3.0 h1:LgXEUjR0KsgwGBznOWa8FJTQ+iElctHtI1via5vKdu4= -gitea.maximumdirect.net/eric/ConfigKit v0.3.0/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk= +gitea.maximumdirect.net/eric/ConfigKit v0.3.1 h1:etfTI/dxO3NnS18La0V6IeUh/Iv+3PjVfEyaN8hTuOM= +gitea.maximumdirect.net/eric/ConfigKit v0.3.1/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk= github.com/aws/aws-sdk-go-v2 v1.41.7 h1:DWpAJt66FmnnaRIOT/8ASTucrvuDPZASqhhLey6tLY8= github.com/aws/aws-sdk-go-v2 v1.41.7/go.mod h1:4LAfZOPHNVNQEckOACQx60Y8pSRjIkNZQz1w92xpMJc= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.10 h1:gx1AwW1Iyk9Z9dD9F4akX5gnN3QZwUB20GGKH/I+Rho=