Okay fair enough, it wouldn't be much work to ship a PositiveBigAutoField
class.


On Wed, 7 Apr 2021 at 08:29, Florian Apolloner <f.apollo...@gmail.com>
wrote:

> On Tuesday, April 6, 2021 at 7:08:06 PM UTC+2 Adam Johnson wrote:
>
>> I also don't think this is necessary any more and can be closed.
>>
>>
>>> An explicit `id = PositiveBigIntegerField(...)` workaround would be fine
>>> to be honest, for those that need it.
>>
>>
>> I also would like to meet the django app that *does* need it (for
>> non-silly reasons like deciding to start ID's near 2^63).
>>
>
> Since you have asked: It is required if you want to store a x509
> certificate serial number as is. We indeed get queries from integrators
> that have previously stored serial numbers in a big integer field. After
> the "recent"  cert library updates which now properly produce 64 bit
> positive integers like the CAB forum requires, they ran into plenty of
> problems with the first certificate serial that was larger than 2^63.
>
> Map that to Django and I think changing to PositiveBigIntegerField is a
> fair workaround. Not sure if it is worth changing the default, but the
> requirements do exist for some people.
>
> Cheers,
> Florian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/2a5a9a02-70d6-4f77-9af0-c9217cb9eb3an%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/2a5a9a02-70d6-4f77-9af0-c9217cb9eb3an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM0vpmOPMsN%3DMJekEJYDaGwB9NpRKUmocAfHuO18ZN2U%2Bg%40mail.gmail.com.
  • Re:... Tim Graham
    • ... Nick Pope
      • ... Adam Johnson
      • ... Caio Ariede
      • ... Jure Erznožnik
      • ... Caio Ariede
      • ... אורי
      • ... Tom Forbes
      • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... Florian Apolloner
      • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to