This tool writes out a copy of the current DNSSEC trust anchor. It is compatible with both Python 2.7 and Python 3.x, and has no dependencies except Python and the OpenSSL command line tool.
The DNSSEC trust anchor will be fetch from IANA, and the root KSK (Key Signing Key) will be fetched using Google Public DNS over HTTPS, by downloading the root zone file, or optionally directly from the DNSSEC trust anchor.
python get_trust_anchor.py