Instantly share code, notes, and snippets.

@yoshuawuyts /julian.txt Secret
Created Nov 28, 2016

Embed
What would you like to do?
16:59 <pfrazee> juliangruber: haha yeah, this way I dont have to bug yall to make the specific flows I need (which might run counter to the needs of scientist users)
16:59 <pfrazee> also beaker is basically a daemon that can centrally manage (on the device) your private keys, so that's a win
17:01 <yoshuawuyts> pfrazee: iirc someone said we used to centrally manage keys but then moved away from it because it doesn't play nice
17:02 *.net ⇎ *.split ⇐ juliangruber, daviddias, mmckegg and rabbitface3 quit  
17:02 <pfrazee> yoshuawuyts: yeah there are pros and cons to both approaches. I'm pretty much forced into the central approach, so I might as well take advantage of it
17:02 → rabbitface3 joined (~rabbit@192.241.197.29)
17:02 <yoshuawuyts> pfrazee: this would mean that files shared on beaker couldn't be reshared through dat stuff / unless we know where you're storing the keys and like search for there
17:03 <yoshuawuyts> pfrazee: I feel like beaker and dat-desktop are quite similar in their constraints
17:03 <pfrazee> yoshuawuyts: I'm open to ideas for unifying the approaches. For dat-cli, I think a .dat dir is smart because I wouldn't want to have to run a daemon
17:03 <pfrazee> yoshuawuyts: yeah how are you doing it in dat-desktop?
17:04 <yoshuawuyts> oh god, internet is dropping; messages take forever to send
17:04 → mmckegg joined (sid28034@gateway/web/irccloud.com/x-smuceghnymsemyoa)
17:04 <pfrazee> yoshuawuyts: do you have a folder where the created & downloaded dats are put?
17:05 <yoshuawuyts> pfrazee: we default to ~/Downloads rn - we create a directory per archive with a .dat directory under it
17:05 <yoshuawuyts> in the current iteration it doesn't seem to store private keys in there tho, but idk feel that might change b/c it has like the same issues of not playing nice - also can't share single files rn
17:06 <pfrazee> yoshuawuyts: yeah that's what I figured. I miiiight be able to do that, but only once the user chooses to *save* a dat (instead of when they just browse to it)
17:06 <yoshuawuyts> pfrazee: if there was some convention on where to store private keys outside of an archive / .dat dir everything should be good I think
17:07 <pfrazee> yoshuawuyts: yeah. I'll keep an eye on what happens with dat-desktop.
17:07 <yoshuawuyts> pfrazee: ah yeah I think I get what you're saying - sounds like a UX choice which is totes 👍
17:07 <yoshuawuyts> pfrazee: same with beaker ✨
17:08 <pfrazee> yoshuawuyts: worst case, if we cant unify, I can add commands in bkr to convert btwn the two. Eg, `bkr export` and `bkr import`
17:08 <yoshuawuyts> ahh yeah sounds good
17:08 → juliangruber joined (sid21240@gateway/web/irccloud.com/x-qbfvagzvefzxvrrh)
17:08 — yoshuawuyts puts out flaming pitchfork
17:09 <pfrazee> hah juliangruber missed it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment