On Tue, Mar 8, 2022 at 8:52 PM Zbigniew Jędrzejewski-Szmek
<zbys...@in.waw.pl> wrote:
>
> On Tue, Mar 08, 2022 at 07:40:15PM +0100, Alexander Sosedkin wrote:
> > the only realistic way to weed out its reliance on SHA-1 signatures
> > from all of its numerous dark corners is to break them.
> > Make creation and verification fail in default configuration.
>
> That sounds like a terrible plan. We should make newer hashes
> the default, and we can make tools print a warning if sha1 is used
> where it shouldn't,

Yeah, that'd never gonna work.
Cryptographic libraries aren't in position to do any meaningful logging,
and even if they did, it'd be gleefully ignored until we break things.

> but please don't break things on purpose.

If you manage to come out with the way
we can move forward to this century crypto
that doesn't involve breaking things on purpose,
definitely share one with us, you'd be our saviour. =(

Yes, backwards compatibility is very important.
Yes, you can still make a modern Fedora do RC4 or DES,
with just a little bit of extra configuration.
No, we must phase things out of defaults, there's no way around this.

> For many many things sha1 is just fine. Just like md5 or even
> crc32. Not everything is about cryptographic security.
> Also, users will want to verify old signatures essentially forever.
> This should be always possible. And finally, the world is huge,
> and other users will provide sha1 signatures no matter what we do,
> and it is better to check those than to completely ignore them.
>
> Zbyszek
>
> (This is a bit like browsers disliking self-signed certs and http://
> — it certainly is OK to make users aware of the issue, but actually
> disallowing those is terribly annoying and will only result in users
> jumping to different tools.)
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to