SecurityInnovation / PGPy

Pretty Good Privacy for Python
BSD 3-Clause "New" or "Revised" License
317 stars 99 forks source link

PGPy produces timezone-naive datetime objects, but should create timezone-aware objects (all with TZ=UTC) #401

Closed dkg closed 1 year ago

dkg commented 2 years ago

All OpenPGP timestamps are in UTC. But PGPy produces "naive" datetime objects. See https://docs.python.org/3/library/datetime.html#aware-and-naive-objects for more info about the difference.

PGPy should produce datetime objects that all use UTC.