I'd like to check the time/date inside an obfuscated python script.
datetime
is not reliable as it's easily possible to change the computer clock time.
Using ntplib with a ntp server like europe.pool.ntp.org
is not secure either because the user could change the DNS or something like that.
Is there a reliable and secure way to get current date in python ? Using certificates or something like that ? I could gather and parse data from unixtimestamp and verify SSL certificates, but I'm pretty sure that's not the cleanest way of doing this.