/** * Get the public key corresponding to a fingerprint. * * @param string $fingerprint * @return string */ public function export(string $fingerprint) : string { $gnupg = new \Crypt_GPG($this->options); $gnupg->addEncryptKey($fingerprint); return $gnupg->exportPublicKey($fingerprint, true); }