docs: correct outdated fallback keyring path documentation#935
Open
CygnusMaximillian wants to merge 1 commit into
Open
docs: correct outdated fallback keyring path documentation#935CygnusMaximillian wants to merge 1 commit into
CygnusMaximillian wants to merge 1 commit into
Conversation
Updates the file-based keyring fallback documentation to accurately reflect the standard XDG-compliant path layout structures used by the application instead of referencing a separate ~/.harbor/ directory. Fixes goharbor#934 Signed-off-by: CygnusMaximillian <dprajjwal11@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
This PR updates the File-based Keyring (Fallback) documentation in the Harbor CLI Encryption Guide to reflect standard XDG Base Directory Specification alignment.
Previously, the documentation erroneously stated that the default fallback keyring file path defaults to a top-level home dotfile directory (
~/.harbor/keyring). Local isolation testing on modern distributions verifies that the CLI binary strictly respects system-wide XDG variables (~/.config/harbor-cli/config.yamland~/.local/share/harbor-cli/), never generating a legacy~/.harbor/folder in the user's root home path.🛠️ Changes Made
doc/cli-encryption/_index.md~/.harbor/keyring.~/.local/share/harbor-cli/keyringor~/.config/harbor-cli/keyring).🧪 Verification & Testing Completed
env -i HOME=$HOME PATH=$PATH ./harbor-cli login...)..config/harbor-cli/config.yamland.local/share/harbor-cli/data.yamlwithout generating an extraneous~/.harborfile path.🔗 Related Issues
Fixes #934
