← Back to team overview

ubuntu-push-devs team mailing list archive

Re: Device ID

 

On 11 September 2013 02:20, Lucio Torre <lucio.torre@xxxxxxxxxxxxx> wrote:
> Will this work on desktops? What happens if we use imei?

Yes, it has existed on desktops for some time.

At present it does a sha512 hash of the SMBIOS' system UUID, falling
back to a hash of the first non-loopback MAC address when the former
is unavailable (as is the case on ARM devices). There are plans to
factor in the IMEI:

https://code.launchpad.net/~ev/whoopsie/android-serial/+merge/178306

This was blocked by ofono not exposing the IMEI unless a SIM was
inserted, but that's now resolved.

I ask that you please extend this existing interface to suit your
needs. This gives us the ability to cross-reference against the other
databases using these identifiers.

> Notifications should be platform independent. Maybe we also want to keep
> them consistent even if the hardware changes?

The hardware for seeding the identifier in whoopsie-preferences was
selected because it cannot change. Admittedly this isn't the case with
a MAC address in a desktop - that's intended as fallback - but it is
the case for the IMEI and system UUID.

Thanks guys!


References