<zarvox>
XgF: I don't know a ton about how U2F enrollment works; I've done a TOTP implementation before at AeroFS, but I could imagine having multiple kinds of MFA support, given appropriate demand :)
<maurer>
kentonv: So, I finally got some time again, and tried to add the test you wanted w/rspt to an upgraded struct list in canonicalization. However, the current type signature of the canonicalization method makes that make no sense
kxra has quit [Ping timeout: 276 seconds]
<maurer>
kentonv: Specifically, the canonicalization method takes in a messagereader or messagebuilder and converts it into a dynamic walk
<maurer>
kentonv: As a result, there's no real way to feed the upgraded struct list reader I've got sitting in my test file to my canonicalizaiton. I can feed the backing reader, or I can re-encode it (causing an upgrade) and canonicalize that, but there's no way for me to canonicalize a message in upgraded form currently
<maurer>
kentonv: As a result, either the testcase is unnecessary, or you implicitly want me to try to expand the interface to work with typed Readers rather than just MessageReaders
<asheesh>
BTW kentonv is afk but will surely be back, probably 4ish pm or 5ish pm Pacific, and will be able to answer then.
<asheesh>
i,i why do people want to make it HARDER to log into their Sandstorm accounts
neynah has joined #sandstorm
<maurer>
asheesh: yeah, no rush, I've been dragging my heels on writing up this testcase anyways
<maurer>
asheesh: also, people wanting to make it harder to log into their accounts indicates they're putting things worth protecting in sandstorm :)
<asheesh>
Bah you're an optimist, I'm sleepy today so I'm a pessimist today
<asheesh>
I mean!
<asheesh>
maurer: You're right, that is reassuring and plesant to hear!
<asheesh>
Yay Mitar gave me a Hooray! emjoi
<asheesh>
+/- typos
frigginglorious has quit [Ping timeout: 265 seconds]
<Mitar>
:-)
<Mitar>
asheesh: does app store has stats on number of apps installed, how many grains are effectively used, and so on? or should I open a ticket for that?
<Mitar>
also, stats how many people deleted the app and a nice histogram on time people had a grain in use
<XgF>
zarvox: U2F enrollmen works by you calling the JavaScript U2F enrollment API?
<zarvox>
XgF: reading up now :)
<isd>
So, starting to play with talking to the sandstorm APIs in go. Would I be duplicating existing effort by writting wrappers for things?
<zarvox>
Ahhh, enrollment hands me (the relying party) a public key, and then I request that the browser do a sign(), and then I check that the signature matches the enrolled key
<zarvox>
So I think all I have to store serverside is the enrolled publickey. Nice.
<asheesh>
isd: I think that would not be a duplicate of anything. But I'm not sure which APIs you want to wrap etc.
<isd>
asheesh: hadn't really pinned that down, probably a function of what I need first
<isd>
might wrap the HTTP stuff just as a warmup; would be neat to pull sandstorm-http-bridge out of the package, leaving *just* the go binary on the filesystem
<asheesh>
Ross Light is the go-to Sandstorm & golang person, but his work is very sporadic/free-time-y on that.
<isd>
asheesh: links to his stuff?
<asheesh>
isd: I woud dig into the filedrop source code too
<isd>
Doesn't look like filedrop actually uses any native sandstorm APIs. Well, time to get hacking.
<zarvox>
:)
<asheesh>
isd: If you feel like writing a Mailinator alternative... :D
<asheesh>
Trying to think of what other APIs would be interesting to wrap.
<isd>
asheesh: I'm probably going to need some of the ip networking stuff soonish
<isd>
like I said, probably will be directed by what I end up needing
<isd>
but for a start I think I can get it so you just swap in sandstorm.HTTPListenAndServe(nil) for your http.ListenAndServe(":8000", nil), and you can delete sandstorm-http-bridge
<isd>
Right now I have a hello-world go package that has nothing but the go executable and sandstorm-http-bridge in it, which is kinda neat I think
<isd>
smallest container ever.
<isd>
spk is ~2MiB
<isd>
Immediate plan is to do a thing that idles in IRC for me, that I can connect to from an IRC client on my laptop. Kinda thing people do with screen or tmux or such.
rgrinberg has joined #sandstorm
Rym has quit [Quit: Connection closed for inactivity]
<asheesh>
Nice, isd. You'll presumably end up using the "powerbox" to request real network access, fwiw.
<asheesh>
Let me know if as you need help with that.
kxra has quit [Ping timeout: 260 seconds]
isd has quit [Ping timeout: 265 seconds]
<kentonv>
maurer: yep, looks like you're right. Never mind that test then.