We should make the Magic Value+Data configurable instead of hardcoding it to Namecoin=1. We should also support multiple Magics (shouldn't be hard once we switch from cflag to an easyconfig struct). We should also add an integration test that makes sure that the Magic doesn't interfere with certutil deleting the cert. (I just checked in a Windows 10 VM and it indeed doesn't interfere; deleting the cert with certutil results in the entire cert key being removed, including the Magic.)
Partially implemented in https://github.com/namecoin/certinject/pull/62 (supports non-hardcoded Value+Data, but doesn't support multiple Magics, and doesn't do an integration test with certutil).
We should make the Magic Value+Data configurable instead of hardcoding it to
Namecoin=1
. We should also support multiple Magics (shouldn't be hard once we switch fromcflag
to aneasyconfig
struct). We should also add an integration test that makes sure that the Magic doesn't interfere withcertutil
deleting the cert. (I just checked in a Windows 10 VM and it indeed doesn't interfere; deleting the cert withcertutil
results in the entire cert key being removed, including the Magic.)