mikepultz / netdns2

Native PHP DNS Resolver and Updater
https://netdns2.com/
Other
119 stars 64 forks source link

Allow DNSKEY export to canonical PKCS#7 format #75

Closed BenBE closed 7 years ago

BenBE commented 7 years ago

The wire format of DNSSEC heavily varies from commonly used cryptographic key containers that use the SPKI (Subject Public Key Information) structure present in e.g. X.509 certificates. Having some utility functions to convert the DNS wire format to e.g. PKCS#7 would be good.

mikepultz commented 7 years ago

I don't think the DNS library should be formatting output in different ways- it's simply a lookup library, formatting should be done outside of this library.