Update golgi init functions with keystore selector #107
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-workspace#107
Loading…
Reference in New Issue
No description provided.
Delete Branch "keystore_selector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces the keystore selector which was just added to golgi in PR #39.
The update effects
peach-web
andpeach-lib
. I have also updated the dependencies (as represented by the changed lockfile).CC: @notplants
Update:
This ended up getting a bit complicated. I had to update
peach-network
because the public API of one of our dependencies changed (wpa-ctrl-rs
). Everything is now compiling.@notplants
Could you take a peek at this and make sure it all looks good to you? I ended up having to make some small updates to
peach-network
.nice ~ new golgi code coming in
Regarding your question about hardcoding:
They hardcode the location: https://github.com/Kuska-ssb/ssb/blob/master/src/keystore/patchwork.rs#L13
I think that's nice to have as a convenience but we would still want to allow for a unique path to be supplied. I'd suggest we do that with an additional enum variant:
Usage would be something like this:
Then we could still use the
read_patchwork_config()
function from kuska to parse the file content into an instance ofOwnedIdentity
.I'm working on this right now