News for hackers. Stuff that matters.
Re:A well-known URL for changing passwords by isostatic on Thursday December 06, 2018 @09:49AM (#18618419)
They say that iCloud Keychain on iOS 12 and Safari 12 have implemented this feature.

And sure enough, https://www.icloud.com/.well-known/change-password

Looking through the referenced RFC, there's a whole raft of "well known" urls that are registered

https://www.iana.org/assignments/well-known-uris/well-known-...

How widely adopted are these?

Re:A well-known URL for changing passwords by tzs on Thursday December 06, 2018 @12:51PM (#18620334)
GnuPG can use /.well-known/openpgpkey since 2.1.12, and it is used by default since 2.1.23, when you do --lookup-key.

E.g.,

  $ gpg --lookup-key [email protected]
will include among the places searched /.well-known/openpgpkey/hu/<some-sort-of-hash-looking-thing>?l=foo at example.org It also looks at /.well-known/openpgpkey/policy.

Toss in "-auto-key-locate=clear,wkd,nodefault" to force it to look there for the key even if it already has a key for that email address.

Re:A well-known URL for changing passwords by Leace on Thursday December 06, 2018 @02:29PM (#18621234)
<some-sort-of-hash-looking-thing> is ZBase32(SHA1(localPart)) and the standard is described here: https://wiki.gnupg.org/WKD

If one controls a domain, has HTTPS set up and uses PGP this is the easiest and most secure way to host a key (`gpg --list-keys --with-wkd $KEY` shows the hash value).

Enigmail, Mailpile, Mailvelope will automatically discover the key when composing an e-mail. ProtonMail is also working on integration of WKD with their web mail.

Re:A well-known URL for changing passwords by ushi on Thursday December 06, 2018 @10:04AM (#18618526)
Re:A well-known URL for changing passwords by devman0 on Thursday December 06, 2018 @02:32PM (#18621259)
Re:A well-known URL for changing passwords by Someone1234 on Thursday December 06, 2018 @09:59AM (#18618492)
The one that Apple's browsers request on every domain isn't even in the list:

/.well-known/apple-app-site-association

That's the only .well-known request we have in our logs from the last year or more. Seems to be looking for an app associated with our site.

Aside from that, I don't know anyone or anything else using .well-known. Seems to be an Apple thing.

Re:A well-known URL for changing passwords by WorldMaker on Thursday December 06, 2018 @11:40AM (#18619538)
WebFinger, a key underlying tech of the Fediverse and used for bootstrapping OpenID Connect, ActivityPub, and many other standards uses .well-known.

https://webfinger.net/

Re:A well-known URL for changing passwords by eponeponepon on Thursday December 06, 2018 @10:02AM (#18618509)
I think LetsEncrypt uses it, no?
Re:A well-known URL for changing passwords by webignition on Thursday December 06, 2018 @10:04AM (#18618524)
Yes, /.well-known/acme-challenge is used by LetsEncrypt.
Re:A well-known URL for changing passwords by JeremyBanks on Thursday December 06, 2018 @10:38AM (#18618886)
Yes, also Keybase.
Re:A well-known URL for changing passwords by toupeira on Thursday December 06, 2018 @10:09AM (#18618561)
Yes, also OpenID Connect.
Re:A well-known URL for changing passwords by merb on Thursday December 06, 2018 @10:24AM (#18618708)
sadly only for discovery. but it would be great if oauth/openid connect would actually use .well-known/authorize, etc. instead each provider has it's own sauce.
Re:A well-known URL for changing passwords by xena on Thursday December 06, 2018 @11:05AM (#18619163)
Re:A well-known URL for changing passwords by Someone1234 on Thursday December 06, 2018 @11:15AM (#18619265)
The discussion was about specs/standards for .Well-Known. I pointed out that Apple's isn't in the list.

In that context I don't follow why you think linking to Apple's development guide helps clarify anything? It still isn't a specified standard, and still isn't on the list of them.

Re:A well-known URL for changing passwords by geofft on Thursday December 06, 2018 @12:41PM (#18620244)
You stated you were unsure what it was. The link clarifies that.

And it is a specified standard: the link is the specification. It's not a standard developed by a multi-stakeholder standards organization, but there are other kinds of standards, too.

Re:A well-known URL for changing passwords by saagarjha on Thursday December 06, 2018 @08:43PM (#18624420)
It really has no utility outside of Apple's app ecosystem, so why would you want it to become a standard?
Re:A well-known URL for changing passwords by mikeleung on Thursday December 06, 2018 @12:06PM (#18619804)
looks like the change was proposed by an apple WebKit developer:

https://github.com/hober

which would explain why apple has implemented it...

Re:A well-known URL for changing passwords by hober on Thursday December 06, 2018 @03:37PM (#18621949)
Yup, hi.
Re:A well-known URL for changing passwords by intern4tional on Friday December 07, 2018 @12:00AM (#18625261)
Regardless of what happens, thank you for trying to make the web a better place.
Re:A well-known URL for changing passwords by codeulike on Thursday December 06, 2018 @09:55AM (#18618462)
they are not well known
Re:A well-known URL for changing passwords by jtl999 on Thursday December 06, 2018 @11:24AM (#18619366)
As a site owner, how many of those should you handle?

Already do special handling of acme-challenge for Let's Encrypt/ACME but that's a given.

Re:A well-known URL for changing passwords by tialaramex on Friday December 07, 2018 @11:04AM (#18628748)
As a site owner the main thing you should do about .well-known is be aware that it's special and so e.g. if you add a feature where users get a vanity page at www.example.com/username you shouldn't let them have the username .well-known

The leading dot is there both because that is already special in POSIX and because there's a good chance your validation whitelisting already forbids leading dots, just like newlines, slashes and other characters we can expect to cause mayhem. So this was a less dangerous choice than just well-known without the dot.