Closed falko-strenzke closed 7 months ago
Just a note for test dev. Code for parsing out the subkey id from the output
pqc_enc_subkey_match = re.search(r'ssb * [0-9]+/ML-KEM-[0-9]+\+[^ ]* *([0-9a-fA-F]+)', output)
if pqc_enc_subkey_match:
pqc_subkey_ids.append(pqc_enc_subkey_match.group(1))
print("appended found PQC subkey id = " + str(pqc_subkey_ids[-1]))
else:
pqc_subkey_ids.append(None)
fixed by #68
created a key v4 key (choice '24' in the text UI):
then encrypting to the primary key:
❯ ./src/rnp/rnp --encrypt --sign -r 4b81f950dd8ae3ca --armor Makefile
causes the ECDH encryption subkey to be used.
In this case, however, the PQC key should be prefered.