Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Incorrect or unexpected behavior
Projects
Status: 🏔️ Icebox
Development

No branches or pull requests

2 participants