Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orb-ns should use the same key locations as orb #668

Open
jsantell opened this issue Oct 5, 2023 · 1 comment
Open

orb-ns should use the same key locations as orb #668

jsantell opened this issue Oct 5, 2023 · 1 comment
Labels
Bug Incorrect or unexpected behavior

Comments

@jsantell
Copy link
Contributor

jsantell commented Oct 5, 2023

orb key locations are ~/.config/noosphere/keys (on linux at least); orb-ns needs to update to use this dir rather than ~/.noosphere/keys

@jsantell jsantell added the Bug Incorrect or unexpected behavior label Oct 5, 2023
@cdata
Copy link
Collaborator

cdata commented Oct 10, 2023

This directory is chosen here:

let noosphere_directory = match custom_noosphere_directory {
Some(path) => path.to_owned(),
None => {
// NOTE: Breaking change for key storage location here
let project_dirs = ProjectDirs::from("network", "subconscious", "noosphere")
.ok_or_else(|| anyhow!("Unable to determine noosphere config directory"))?;
project_dirs.config_dir().to_owned()
}
};

Platform-specific heuristics described here: https://crates.io/crates/directories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect or unexpected behavior
Projects
Status: 🏔️ Icebox
Development

No branches or pull requests

2 participants