Where do i find contact pgp key (in store)

i understand there is no export option for contacts in the ui. but where in the db or data store can i find the public keys so i can extract them myself? thaanks.

the public PGP keys are stored in the table acpeerstates (“ac” stands for “autocrypt”, fields there follow roughly the recommendations from https://autocrypt.org/level1.html)

please note, that this may change at any time without announcements and that accessing data this way is not an officially supported workflow