mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-17 21:42:11 +00:00
With a label in front, as in secret=-----BEGIN RSA PRIVATE KEY-----, the keyword matcher replaced only "-----BEGIN" and the PEM pattern could no longer find its opening marker, so the key body was persisted. This was already the case on main. Move the PEM pattern into _PEM_RE and run it first in both the observation path and the parse-error fallback.