Function self_fingerprint

Source
pub(crate) async fn self_fingerprint(context: &Context) -> Result<&str>
Expand description

Returns own public key fingerprint in (not human-readable) hex representation. This is the fingerprint format that is used in the database.

If no key is generated yet, generates a new one.

For performance reasons, the fingerprint is cached after the first invocation.