Zitat von Lukas Kahwe Smith <
sm...@pooteeweet.org>:
>> On 22 May 2015, at 13:15, Jan Schneider <
j...@horde.org> wrote:
>>
>> Hi,
>>
>> I'd like to propose an alternative discovery method for the
>> vulnerability document.
>>
>> Instead of (or additionally to) using a meta-tag that requires
>> reading and parsing of the project's website, we should allow, and
>> IMO even prefer, to use /.well-known/ URIs.
>> See
https://tools.ietf.org/html/rfc5785 for those that haven't been
>> in touch with those kind of URIs so far.
>>
>> This methodology would simplify the automated discovery of
>> vulnerability databases a lot.
>>
>> Thoughts?
>
> Sounds interesting. The RFC is currently in the state "PROPOSED STANDARD”.
> At any rate, the link relations we define in PSR-9/PSR-10 are
> optional and as such I think we do not disallow any alternative
> approach. I am not sure if the above standard is sufficiently used
> yet, so that people will actually realize that such a
> document/directory may even exist. IMHO the advantage of the link
> relation is that it follows the REST idea where anything can be
> found by simply traversing from the root page of a domain.
What does the link tag have to do with REST? Beside that, even if
using this tag, people (or bots) need to know about the meta tag name
too. To document where and how to find the security list is the target
of this PSR, so there's obviously some need for documentation anyway.
And I doubt that anyone will by accident stumble over this link by
accessing the home page and looking at the source code.
So it boils down to automated tools that need to finde the vuln
information, and these tools will follow this PSR. And I still think
that following the /.well-known/ URL with a standard HTTP client that
supports redirection is much easier than parsing the root document of
a website.
> We could of course define a specific “name” to register for this as
> part of the PSRs
>
> "For example, if an application registers the name 'example', the
> corresponding well-known URI on '
http://www.example.com/' would be
> '
http://www.example.com/.well-known/example'."
>
> At this point I am however -0.5 on this because I am unsure about
> the value of adding a little known RFC to this PSR.
This is not little known at all, but in wide use for example in the
CalDAV/CardDAV world.