Re: F30: System-Wide Change proposal: DNF UUID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 08.01.19 10:11, Richard Hughes (hughsient@xxxxxxxxx) wrote:

> On Tue, 8 Jan 2019 at 08:57, Lennart Poettering <mzerqung@xxxxxxxxxxx> wrote:
> > Yes, Tom's proposal makes sense. Calculate the UUID you submit as
> >   HMAC(machined_id, CONCAT(fixedappuuid, unixtime/432000))
>
> Out of interest, how is using a HMAC different to just using the
> machine-id appended with a salt, sha256'd?

I am not sure how you'd define "salt" in this case. Randomly generated
and stored somewhere? i mean, storing something somewhere is what
should really be avoided I think.

Also, you want to use standard primitives, and a HMAC is one that is
designed for purposes like this. For the reasons why a HMAC is
constructed the way it is, read the wikipedia page.

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux