2014-06-21 UTC
# 00:11 bnvk Wow, whoever runs the Agora collective just checked their Twitter at 2 AM
# 00:18 rascul aaronpk how do you sign your key for the pgp login?
# 00:19 aaronpk I use GPGTools for osx which puts an entry into the "Services" menu in chrome. then I can select the plaintext and press my keyboard shortcut which signs it and replaces the highlighted text with the signed version
# 00:19 rascul can't really remember if i used gpg or keybase but the end is the same
# 00:20 rascul i found a pgp extension for firefox that looked like it would allow me to sign it in the browser
# 00:23 rascul can't check it now i'm not on a computer with graphics
# 00:26 aaronpk you'd be signing in at a computer, but your phone has the key
# 00:26 aaronpk that top rectangle is supposed to be a browser window
# 00:26 bear that is what I was noodling over at the pub just now
# 00:27 bear using the gpg endpoints to allow non-person automation to also authenticate
# 00:27 bear the phone would allow a 2factor like auth check
# 00:27 bnvk well, mine flow deals more with key signing
# 00:28 bnvk but using QR code to transmit key info + fingerprint
# 00:28 KartikPrabhu sounds nifty. never used a QR code before so can't picture how this would feel to use
# 00:28 bnvk I think a mobile QR / PGP app would enable so many amazing things
# 00:29 bear yea, the gauth tool is a great example of using qr codes
benwerd joined the channel
# 00:30 bear aaronpk - what I like is that you can use http headers to control which gpg version a caller gets
# 00:30 bear automation could send a expects header that is non-human-doing-call something (cannot remember web lingo sorry)
# 00:33 bear aaronpk - i've sent an email to my ios dev teammate asking about gpg libs
# 00:34 aaronpk i feel like this shouldn't be too hard to put together... there's already a barcode library and JSON library in ios
# 00:34 bear yea, you can use the barcode scanner to do the rendering and return the data
# 00:36 bear email sent - it's his birthday today so he may not be at his keyboard :)
# 00:39 kylewm wish kbs were still around. he has an android app that exchanges PGP keys via QR code
# 00:40 kylewm but I like your idea a lot aaronpk, would be super nice to use that at an untrusted computer
# 00:42 bnvk I know a few devs in Iceland who were messing around witha QR code / PGP app, i've ping them on Twitter
# 00:43 aaronpk let me see if I can put together a better outline of this then
# 00:43 aaronpk I could even implement the whole thing on the server so that someone else could build the app given the spec. Even if I make an ios app i'm certainly not going to make an Android one
# 00:44 kylewm so the other day, I left my phone somewhere, and was trying to sign into google to find it (device manager or whatever), but couldn't because the TOTP thing is on my phone
brianloveswords joined the channel
# 00:51 aaronpk need a name for this auth app... I really don't want to call it IndieAuth
# 00:52 gRegor` Re kbs, you could try to reach him on g+ or github. Looks active on github.
# 00:52 gRegor` "Pull Request: IWC wants you to come back!" :)
# 00:52 bret what if my authserver was an app in my phone?
# 00:53 aaronpk bret: as long as your auth server has an internet-accessible URL you can use it
# 00:53 aaronpk well you can't really do it on ios cause they don't let you run stuff like that in the background
# 00:54 bret hrmm yeah, wouldnt really work would it
# 00:54 aaronpk it's conceivable that you could run an http server on android, then you'd just be limited by what the cell network allows
# 00:56 bret :) GPGAuth would work, but its pretty dorky
# 00:57 gRegor` Oh, in that case, ArtisanalAuth
# 00:57 gRegor` tangent: I love how Merlin Mann pronounced that "Artis-anal"
# 00:58 bnvk go full hipster and call it a complete non sequitur
chrissaad joined the channel
# 01:00 gRegor` PrettyGoodAuth
dybskiy joined the channel
# 01:02 bnvk you could put in owl sound effects while it's performing the auth proc
dybskiy_ joined the channel
# 01:04 aaronpk weird. usually it's the #indieauthor tweets that leak in here
# 01:06 bret does twitter take spam seriosly? it seems like its just a boost to user count
snarfed joined the channel
wolftune and scor joined the channel
# 01:24 aaronpk hm duolingo already has a cute owl logo. should probably go with crow
bnvk joined the channel
# 01:27 bret ohhh media wiki plugin for sublime :)
tantek, wolftune, chrissaad, snarfed, krendil, ab9 and dns53 joined the channel
dybskiy and vanderwal joined the channel
wolftune, scor and paulcp joined the channel
# 04:31 Jeena thanks snarfed, fixed. The funny thing is that I'm drunk now (just came back from a party, it is 7:30 am here now) and my fix seems to have worked regardless ^^
wolftune and KartikPrabhu joined the channel
snarfed, tantek, dybskiy and KevinMarks2 joined the channel
# 05:41 KevinMarks the trouble with drunk coding is that you wake up and find all the global variables you added
wolftune joined the channel
KevinMarks2, snarfed and zaal joined the channel
friedcell, nloadholtes, eschnou, snarfed and iboxifoo joined the channel
snarfed, eschnou, wolftune, bnvk, nloadholtes, vanderwal, chrissaad, chrissaad1, brianloveswords, markmhendrickson, KevinMarks2 and nemo-yiannis joined the channel
Kopfstein, nloadholtes, gRegor`, ttepasse, markmhendrickson and bnvk1 joined the channel
kylewm, chrissaad and chrissaad1 joined the channel
brianloveswords, caseorganic, wolftune, friedcell, KartikPrabhu and eschnou joined the channel
# 19:46 gRegor` Question for anyone using a DB-backed CMS and displaying webmentions: Do you correlate the webmentions with the post via the post URL in the DB, or do you do any "discovery" process to find the ID of the post and just associate them using that?
# 19:46 gRegor` I am doing the latter currently, since I'm only accepting webmentions on articles, so it's easy to extract the post ID from the URL...
# 19:47 gRegor` But now I'm adding notes, which will have a different URL path, obviously. I could add more methods to parse the ID out of the URL, but I'm wondering if I should change my approach
# 19:53 gRegor` I need to think on this some more. I forgot that I'm also displaying local blog comments, so it's easiest in my complex query to join together "all comments for post 1180" and "all webmentions for post 1180"
# 19:55 gRegor` Any caching, aaronpk?
KartikPrabhu and awolf joined the channel
caseorganic joined the channel
# 19:59 gRegor` Are you reading the wm from the database on each page display, or are they cached periodically?
# 20:01 KartikPrabhu gregor`: i am reading the wm from the db on each page display... and they are linked to the relative URL of the post. So I can associate them to articles and notes
# 20:02 gRegor` relative URL, interesting.
# 20:05 gRegor` Well, guess I'll do whatever is quickest to get notes up and going before IWC. :)
# 20:06 gRegor` How's your top-secret project coming?
KartikPrabhu1, awolf and tantek joined the channel
# 20:53 kylewm aaronpk: did you ever end up writing a webmention notification app?
# 20:57 aaronpk as an initial test I subscribed to my mentions rss feed (via barnaby's h-entry to RSS proxy) using the Boxcar app
# 20:58 aaronpk it's pretty cool actually, but it does mean I get duplicate notifications for instagram likes and such :) one from instagram and one from Boxcar
# 20:58 aaronpk also it makes me reaaallly want to have bridgy pick up mentions faster
# 20:59 aaronpk I may need to have some filter on my mentions feed that doesn't send silo mentions to my notification app, only sends webmentions
# 20:59 kylewm so i have an IFTTT trigger that does something similar... follows my mentions.atom feed and sends me a push notification
# 21:00 kylewm but the IFTTT app notification is not very useful. it just says "updated Kyle Mahan mentions"
# 21:00 aaronpk yeah mine are all "so and so likes this" without telling me what was liked
# 21:02 kylewm it wouldn't be hard at all to run a "secret" bridgy and tweak the polling rates
# 21:06 kylewm mainly because it uses app engine's datastore
# 21:06 kylewm there might be 3rd party implementations, not sure
emmak and KartikPrabhu joined the channel
# 21:28 aaronpk what other asymmetric crypto libraries/standards are there besides GPG?
dybskiy joined the channel
dybskiy joined the channel
# 21:57 bnvk1 what happened to owl or crow?
# 22:01 aaronpk bnvk1: interesting. I don't see anything about auth/login there
# 22:02 aaronpk also I wanted to spec something that could have multiple implementations and isn't tied to any sort of silo account
# 22:03 bnvk1 so, If I understand this correctly- the app is going to replace the "signing" part of the process at IndieAuth that currently is manual and requires GPG Tools locally, right?
# 22:04 aaronpk right, this would allow you to sign the GPG challenge from your phone
# 22:04 bnvk1 So, kinda like a GoogleAuth token generator but uses PGP signing to auth into sites using your phone / QR while logging you on a website, rigth?
# 22:04 aaronpk the neat thing is if the phone can generate the key, then this is actually a very slick user experience that requires no knowledge of GPG
# 22:04 bnvk1 yes, so then how do you transmit the key to your site?
# 22:05 aaronpk right now it's manual, you can export the public key from the app
# 22:05 aaronpk I had an alternate version where it could submit the public key to indieauth.com directly (using the QR code again) but then it's tying it to specific auth providers
# 22:07 bnvk1 hrm, perhaps we could establish some sort of PGP transmission standard that uploads the key to your site?
# 22:07 bnvk1 of course, this would need some sort of auth process
# 22:07 bnvk1 i'll bounce that idea around everyone here
# 22:07 bnvk1 all of which are saying big thumbs up- really neat stuff tho :)
# 22:07 aaronpk i'll make a note at the bottom of my alternate flow
# 22:08 bnvk1 I'd absolutely love to help implement my key signing aspect at some point
chrissaad joined the channel
# 22:15 bnvk1 so, the threat model of transmitting the pub key to your site is really only opening up a way for data to be uploaded to your site, right?
# 22:16 bear why not have the app use a webmention like url in the header
snarfed and jvalleroy joined the channel
# 22:18 bnvk1 aaronpk: here's an idea- your site generates a nonce style token that is compatible with Kirby
hodge joined the channel
# 22:18 bnvk1 perhaps a QR code
# 22:19 bnvk1 that kriby scans which then grants the app time limited access to upload the public key
# 22:27 bnvk1 aaronpk: are you editing the Kirby page? I can jot down this flow idea
wolftune joined the channel
# 22:29 bear if it's my site, putting the pub key is my task, but I see how this may be an issue for someone who doesn't control the server
# 22:31 bnvk1 yes, for non-techies uploading a key to a server is darn near impossible
# 22:31 bear and I think this method of auth is not for that set of users
# 22:32 bear because unless kirby is going to also send the key to keyservers, then it's not really pgp
# 22:32 bnvk1 well, improving the usability of PGP is kinda my thing at the moment- so i'm scheming in anyway I can ;)
# 22:33 bnvk1 I've been having lots of chats about how to do decentralized keyexchange
# 22:34 bnvk1 mailpile, for instance, is going to send out key attachments to emails by default
# 22:34 bnvk1 indieweb sites are a perfect match for allowing keys to be hosted on one's own domain
tantek joined the channel
# 22:36 bnvk1 subkeys are also an interesting possibility
# 22:36 bnvk1 but might be a rabbit hole as implementations of managing them are even worse than the parent keys, usually
# 22:37 bear including a nonce in the QR code so that kirby has a token to send back along the response path seem saner
# 22:37 bear yea, subkeys seem to shift the problem to another level but not solve it
snarfed joined the channel
# 22:45 snarfed hey aaronpk, re wishing bridgy saw responses faster, were you thinking of one silo in particular? or all of them?
# 22:45 snarfed and would dropping it from the current 10-15m to 2m (or so) do it? or do you want seconds for your use case?
# 22:47 bnvk1 do you use email, or are you like tantek in that respect?
# 22:54 aaronpk So one of the goals here is to make the gpg option as easy as adding an HTML tag to your site
# 22:54 aaronpk I don't want to require changes to your server architecture
# 22:55 bear then kirby should take the given pubkey, generate a nonce and have that placed in the tag
# 22:55 aaronpk So one way is to delegate the key management to an auth server like IndieAuth.com so that you just need to point to IndieAuth.com with a rel=authorization_endpoint tag
# 22:57 aaronpk The Kirby could upload the key to IndieAuth.com directly, don't even need to point to the key from your site
# 22:58 bear that moves the problem to another server tho - how does my site know that indieauth was authorized to store that key and has it correctly stored
# 22:59 aaronpk You'd be delegating to an auth server of your choosing
# 23:00 aaronpk Then the consuming site doesn't even care about the gpg part, it's just doing normal IndieAuth (basically oauth) in this case
# 23:01 aaronpk Hmm yeah in practice I think people are more likely to not upload a key to their actual site
# 23:01 aaronpk Even I didn't, I just linked to my keybase.io key
# 23:02 bear yea, while I like the gpg part of indieauth delegation, I just am wondering who will use it
# 23:02 aaronpk Part of my goal is to make it seamless to use, without even needing to know it's gpg
# 23:03 aaronpk Basically I just care about the asymmetric crypto part
# 23:03 bear I am wondering if this can be used to authorize in a temp fashion 3rd party tools - since they would not have my private key
# 23:04 bear :) - I shouldn't be thinking about crypto while watching futbol
# 23:25 bnvk aaronpk: did you upload your private key to keybase.io ?
# 23:27 aaronpk Wait no I must have cause I can sign things on the site
# 23:27 bnvk the crypto scene ppl I know are very against the idea of ever putting your unencrypted private key on someone elses hardware
# 23:28 aaronpk Is there any drawback to having multiple private keys?
# 23:28 bnvk and thus very very skeptical of keybase
# 23:28 bnvk it's basically as bad as storing ppls passwords in plain text in a password protected DB
# 23:28 rascul the drawback to more private keys is that it's harder to manage
# 23:29 bnvk yah, transmitting private keys between devices is hard
# 23:29 aaronpk Well in theory the private key is encrypted with my pass phrase on keybase's servers, right?
# 23:29 rascul nobody will ever get my private key if i can help it
# 23:29 bnvk but their server code is not open source AFAIK
# 23:29 bnvk and even it was, there is no proof they implemneted the public code
# 23:30 aaronpk I think a bigger worry than malicious intent by keybase is them making a mistake
# 23:30 bnvk I believe Apple uses a dual key system where each ICloud syncing device generates two keys and sends one private key wrapped in an encrypted envelope which Apple then decrypts
# 23:30 aaronpk In which case do I trust keybase or myself to not make a mistake
# 23:30 rascul btw if you use the keybase cli tool to make your keys it calls gpg and will go into your gpg key stuff
# 23:30 rascul so you can use either keybase or gpg tools with no farther intervention
# 23:31 bnvk yah, I use the keybase CLI from my machine
# 23:31 aaronpk Considering I lost a bunch of files both my canonical and backup copies... I'm having a tough time trusting myself lately
# 23:32 rascul backup your private key on a thumb drive or something
# 23:32 aaronpk Which thumb drive and where do I put it to not lose it etc etc
# 23:32 rascul i built a computer awhile back, each component i had hung individually from the ceiling
# 23:33 aaronpk I was at a friends house and their roommate has a computer with all the hard drives hanging
# 23:33 rascul thumb tacks are not good for hanging computer components from ceiling heh
# 23:34 rascul the motherboard and video card were constantly moving due to the fans
# 23:34 bnvk yah, I store all my private keys on encrypted thumb drives
# 23:34 aaronpk bnvk I really don't want to put the burden of accepting a public key on the persons site
# 23:35 aaronpk This should not require any server side infrastructure to work
# 23:35 aaronpk Like Bret should be able to use it with his static site
# 23:35 bnvk aaronpk: well, it should have to for sure
# 23:35 aaronpk That's why I've been talking about delegating to an auth server which is responsible for it
# 23:36 bnvk but more mature / robust web publishing platforms like p3k could easily bundle it, no?
# 23:36 aaronpk Of course you can run your own auth server on your domain if you want
# 23:36 bnvk that sounds a lot more complicated that something that generates a QR code or nonce
# 23:37 bnvk obvs ppl running static html sites are techies- it's a different user type altogether, no?
# 23:39 aaronpk All it takes is adding an HTML tag. And if you want to go all out then yeah you can do it all yourself
# 23:39 bnvk adding HTML tags is still techie, IMHO, it's not Facebook easy
# 23:41 aaronpk Yeah and server side components can add the tag for you. The point is it's a lot less to ask of platforms like Known or p3k to add the ability to add an HTML tag vs implement crypto
# 23:42 bnvk what "generation" is this supposed to be relevant to?
# 23:44 bnvk maybe I'm missing the scope / goal of what you're trying to achieve- but it feels both "techie" and encouraging a more semi-centralized architecture of providers for simple auth
# 23:45 bnvk I really don't like the idea of having to engage with a 3rd party simply to login to my own site
# 23:46 bnvk or maybe it's just 2 AM here in Germany :)