In rpglib/src/key_material.rs, parse() silently accepts a contact identity that contains a private key block. It should be a parse error, or at minimum demote the role to self with a logged warning. Enforcement belongs after each identity block is assembled, before it is pushed to the output list.
In `rpglib/src/key_material.rs`, `parse()` silently accepts a `contact` identity that contains a private key block. It should be a parse error, or at minimum demote the role to `self` with a logged warning. Enforcement belongs after each identity block is assembled, before it is pushed to the output list.