rnp_key_remove

Remove a key from keyring(s)

&reftitle.description; `bool` `rnp_key_remove` `RnpFFI` `ffi` `string` `key_fp` `int` `flags`

Note: you need to call `rnp_save_keys` to write updated keyring(s) out.

&reftitle.parameters;

`ffi`

- &rnp.parameter.ffi-description;

`key_fp`

- Key fingerprint.

`flags`

- See `RNP_KEY_REMOVE_`*`` constants. Flag `RNP_KEY_REMOVE_SUBKEYS` will work only for the primary key and will remove all of its subkeys as well.

&reftitle.returnvalues;

Returns &true; on success&return.falseforfailure;.