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 or by downloading the root zone file.
python get_trust_anchor.py