#dev 2017-06-20

2017-06-20 UTC
Loqi_, ejd, dansup, sknebel and kants joined the channel
#
reitnauer.com
edited /Homebrew_Website_Club (+399) "/* Getting Started or Need Restarting */"
(view diff)
kline and eli_oat joined the channel
#
reitnauer.com
edited /Homebrew_Website_Club (+2) "/* Wellington */"
(view diff)
#
reitnauer.com
created /Template:Timo_Reitnauer (+51) "Created page with "Co-founder at [https://iwantmyname.com iwantmyname]""
(view diff)
gRegorLove and [miklb] joined the channel
#
reitnauer.com
created /User:Reitnauer.com (+51) "Created page with "Co-founder at [https://iwantmyname.com iwantmyname]""
(view diff)
dougbeal|mb1 joined the channel
eli_oat, j12t, gRegorLove and [miklb] joined the channel
#
GWG
[miklb]: May I bounce some thoughts off you?
#
[miklb]
absolutely!
#
GWG
Trying to figure out how to make the new microformats 2 plugin better
#
[miklb]
In what specific ways?
#
GWG
Well, for now, it is good enough
#
[miklb]
so what a thinkin’?
#
GWG
I wish it could do more
tantek joined the channel
#
[miklb]
the goal is to make a non mf2 theme have mf2 support. Is anything missing? Is there more that could be added to reach that goal?
#
www.boffosocko.com
edited /Posts_about_the_IndieWeb (+330) "IndieWebifying my website: part 1, the why & how"
(view diff)
#
GWG
Not with what can be done.
deathrow1, [sebsel], barpthewire, cweiske, KevinMarks, tantek, [kevinmarks], j12t_, gRegorLove_ and wagle joined the channel
#
strugee.net
edited /pump.io (-463) "Remove outdated mf2 issue"
(view diff)
KevinMarks, j12t and tommorris joined the channel
#
pfefferle
good morning
j12t joined the channel
#
GWG
Good morning, pfefferle
[kevinmarks] joined the channel
#
GWG
pfefferle: I did want to ask what you think would make wordpress-microformats-2 better.
#
pfefferle
GWG hey hey
#
pfefferle
GWG hmmm tough question... I am not sure if there is anything to make it better...
#
pfefferle
GWG the best way is to use a good theme, so the plugin will always be a bit hacky ;)
tantek, j12t and singpolyma joined the channel
#
Zegnat
Re: simple TOTP & password IndieAuth self-contained thingamabob, how about encrypting the TOTP secret with the user’s password? That way password isn’t stored on the server at all and TOTP secret is not stored in the clear. Any obvious drawbacks to that?
#
Zegnat
sknebel ^^^
#
sknebel
Zegnat: that works
j12t and barpthewire joined the channel
#
Zegnat
wants indieauth.rocks to have something to develop against :p
#
sknebel
what PHP versions are still common today?
#
Zegnat
Depends on who you ask. If you ask WordPress: all of them
#
sknebel
for this thing. for easy use, we probably shouldn't depend on uncommon external modules, so it'll have to make do with what php provides
#
Zegnat
https://wordpress.org/about/stats/ - 5.3 is still bigger than 7.0 for WordPress
#
Zegnat
Hmm, the library I use for TOTP doesn’t go lower than 5.5, so might have to find something else. https://github.com/Spomky-Labs/otphp/tree/v8.3.0
#
sknebel
reviews writing by paragonie.com
#
Zegnat
paragonie seem to have a totp lib too, but according to packagist also pinned to PHP 7
#
aaronpk
You can test against signing in to Telegraph
#
Zegnat
sknebel, maybe not worry about PHP version as step one, but get the flow working first? When we have a working thing that is easily deployable we can work backwards to support older PHP versions
#
Zegnat
I was going to test against the wiki, aaronpk. But could do Telegraph too :)
#
sknebel
Zegnat: sure, I just wanted to get a basic idea what libs and apis are useable
eli_oat joined the channel
#
sknebel
5.5 seems like a reasonable starting point, with password_hash being available
#
Zegnat
It looks like most of the [HT]OTP libs on packagist have all moved on to 7.0+, so it would require loading a lower version in almost all cases and hoping they backport fixes
#
Zegnat
Nice thing about encrypting the TOTP secret with password: no need for hashing algos in PHP, only encryption.
#
Zegnat
And AES encryption shouldn’t be too hard to access, I think
#
Zegnat
I wonder if we could package it as a PHAR so everything is contained in one file. Make it truly “drop this one file on your server, link to it, and use IndieAuth”.
#
sknebel
heh, I'd prefer to only use hashing if proper hashes are available, most encryption apis are a pain
#
Zegnat
defuse and paragonie made https://github.com/defuse/php-encryption which is fine to use in my experience. And PHP 5.4 compatible.
#
Loqi
[defuse] php-encryption: Simple Encryption in PHP.
#
Zegnat
I am not sure how I want to handle code validation yet though, I’d rather not end up storing codes
#
sknebel
signed codes
jonnybarnes joined the channel
#
Zegnat
signed codes does mean I end up having: 1) a password to protect, 2) a shared TOTP secret to protect, 3) a private signing key to protect.
#
Zegnat
But yeah, I see no other way either
#
Zegnat
1 & 2 can be combined by encrypting 2 with 1, as I previously stated. Still leaves the private signing key.
#
sknebel
those all have the same risk level, so there being multiple things doesn't make a difference
#
sknebel
wait, wrong, since password hash
#
sknebel
still, thats the way to go without a way to safely store temp data
#
Zegnat
Surely the private signing key has a higher risk level? It would allow any endpoint to create keys that my endpoint accepts. The other two only have value together, and only to login through my actual endpoint (which could theoretically also be IP whitelisted etc.etc.)
#
Zegnat
Oh, I am not disagreeing with you that signed codes are the way :) Just over-analysing
#
sknebel
yes, you are right, mentally ignored the hashing
#
Zegnat
to be honest, might as well store everything in the clear. The entire endpoint can only be as secure as the signing key storage, and the signing key must be stored in the clear...
#
Zegnat
<?php $identities['vanderven.se/martijn/'] = ['password'=>'letmein','shared_secret'=>'1234567890','private_key'=>'0987654321']; ?>
[miklb] joined the channel
#
[miklb]
I feel bad, I’ve lost a lot of my motivation for the theme I started after seeing all of the restrictions for the WordPress theme repo.
#
sknebel
what restrictions are that?
tantek joined the channel
#
sknebel
Zegnat: asymmetric signatures are an option, but maybe not for the first iteration then
#
sknebel
Loqi: WTF?
#
Zegnat
I think I have seen that Twitter account pop up here before. Seems to tweet a random collection of buzzwords followed by a link.
#
Zegnat
What problem do asymmetric signatures solve here?
#
tantek
yes that twitter looks like spam
#
tantek
!spammer @SocialMedia547
#
sknebel
Zegnat: allows signing only when knowing (password-protected) secret, verification possible without secret
#
sknebel
I don't think Loqi has a blacklist anymore
#
Zegnat
Alright, so you would be able to have your TOTP shared secret and your private signing key encrypted with the password and then a public key for verifying codes that are sent back.
#
Zegnat
I guess that would work.
#
sknebel
same for password-only mode (which also should be a step before TOTP)
#
Zegnat
Yes, this would be the same without TOTP, only difference is how much data is being stored encrypted
j12t joined the channel
#
Zegnat
I don’t know what asym libs are available to us though
#
[miklb]
sknebel well, I wanted to build a theme that was fully ready for the several IW WP plugins but you can’t require plugins with a theme, so I would have to write checks to see if each plugin was active and do a bunch of conditionals.
petermolnar joined the channel
#
sknebel
[miklb]: hm, understandable but annoying
#
ben_thatmustbeme
well, this was my trian ride this morning, quite sure it doesn't work yet, but https://github.com/Inklings-io/selfauth
#
Loqi
[Inklings-io] selfauth: self-hosted auth_endpoint using simple login mechanism
#
ben_thatmustbeme
if anyone wants to take a look
#
Zegnat
I’ll have a look when D&D night is over
#
[miklb]
GWG when you have a few minutes, I’d like to discuss simple location a bit.
j12t, gRegorLove and [cleverdevil] joined the channel
#
sknebel
ben_thatmustbeme: somewhat-recent php has a bunch of default functions for hmacs and such that I'd try to use instead (any specific reason you went for md5 everywhere?). and a few other small things. how do you want to work on it? Give me/us (I guess Zegnat is interested as well) access, or do you want issues and PRs?
#
ben_thatmustbeme
either way, i'm fine giving whoever access
#
ben_thatmustbeme
i use md5 just as a proof of concept
#
ben_thatmustbeme
i am close to actually having it work
#
sknebel
assumed so
#
ben_thatmustbeme
figured get it working then improve from there
#
sknebel
well, then I'd like access (sknebel on github as well), and will look into it over the next few days
#
Zegnat
I’m in for improving definitely. (Zegnat on GitHub.)
#
Zegnat
should not read IRC and play D&D though, argh
#
sknebel
sorry for highlighting you, will stop
#
[miklb]
to quote snarfed “that way there be dragons”
eli_oat and j12t joined the channel
#
ben_thatmustbeme
sknebel, Zegnat, given write access to selfauth
#
ben_thatmustbeme
what is selfauth?
#
Loqi
It looks like we don't have a page for "selfauth" yet. Would you like to create it?
sgriffee joined the channel
#
ben_thatmustbeme
selfauth is a single user authorization endpoint written in php which is easy for anyone to get runing https://github.com/inklings-io/selfauth
#
loqi.me
created /selfauth (+170) "prompted by ben_thatmustbeme and dfn added by ben_thatmustbeme"
(view diff)
#
Loqi
[Inklings-io] selfauth: self-hosted auth_endpoint using simple login mechanism
#
ben_thatmustbeme
selfauth << todo, support authorization as well as authentication. currently scope is ignored
#
Loqi
ok, I added "todo, support authorization as well as authentication. currently scope is ignored" to the "See Also" section of /selfauth
#
loqi.me
edited /selfauth (+102) "/* See Also */ new section"
(view diff)
sebsel joined the channel
#
sebsel
selfauth++ :D
#
Loqi
selfauth has 1 karma
jackjamieson and eli_oat joined the channel
#
GWG
miklb, what are you thinking?
jackjamieson and [miklb] joined the channel
#
[miklb]
GWG for one, trying to figure out where `$geodata['public']` is getting set
#
[miklb]
I switched to the master on micropub and a lot of stuff is working now that I thought was missing before. need to add the checkin post kind now.
#
[miklb]
pending 1.2 release I think
#
GWG
miklb, it is time, I agree
#
[miklb]
snarfed added checkin so I think so ?
#
GWG
miklb, the public issue was related to Chrisaldrich's complaint
#
[miklb]
which was?
#
jackjamieson.net
edited /IRC_People (+127) "/* Nicknames */"
(view diff)
KevinMarks joined the channel
#
GWG
Public by default
#
[miklb]
GWG so it’s private by default and only per-post setting? I couldn’t find an option anywhere to change to public by default.
#
ben_thatmustbeme
i'm pretty surprised how easy that was to write selfauth though
#
GWG
miklb, it is a variable. I need to enhance
#
GWG
Geodata specification states public by default
#
GWG
I will be doing some Simple Location fixes next
#
GWG
Possibly during the Summit
#
gRegorLove
I need to narrow down my list a bit and come up with something to work on at IWS.
#
gRegorLove
Been feeling a bit burnt out. Hopefully it will be an inspiring weekend, as it usually is.
j12t joined the channel
#
ben_thatmustbeme
whats on your list gRegorLove?
#
gRegorLove
Maybe I'll wrap up the new version of Webmention for ProcessWire
[chrisaldrich] joined the channel
#
kodfabrik.se
edited /2017/Leaders (+15) "/* Remote Participation */ Adding myself"
(view diff)
#
ben_thatmustbeme
gRegorLove: websub/push ++
#
gRegorLove
That one just means setting up a button in my UI to push my articles feed so I don't have to use command line curl
#
gRegorLove
That's a quick one
#
gRegorLove
With Salt not being able to make it, we now have more remote attendees for Leaders Summit than in-person :)
#
ben_thatmustbeme
also submitting implementation reports for websub
#
ben_thatmustbeme
that would be really good
#
voxpelli
is looking forward to Leaders Summit
[cleverdevil] joined the channel
#
gregorlove.com
edited /discuss (-67) "/* Email */ rephrase"
(view diff)
dansup_ joined the channel
#
gregorlove.com
edited /FAQ (+73) "s/IRC/chat/, links to /discuss instead of /IRC"
(view diff)
KevinMarks, KevinMarks_ and eli_oat joined the channel