So, I’m using deltachat-core-rust crate to implement a bot and I wan’t to import the PGP keys for its account but I think the API is not exporting some needed types.
There is also preconfigure_keypair in deltachat::key - Rust which takes keys from memory, but it is not used by Delta Chat itself outside of the test suite, so more likely to be changed or removed in the future.