# Automatically attach PGP public key if used with Ciphermail

**URL:** <https://community.ciphermail.com/t/automatically-attach-pgp-public-key-if-used-with-ciphermail/722>\
**Category:** Gateway\
**Created:** [February 16, 2021, 11:51am UTC](https://community.ciphermail.com/t/automatically-attach-pgp-public-key-if-used-with-ciphermail/722 "2021-02-16T11:51:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![florian.lechler](https://avatars.discourse-cdn.com/v4/letter/f/e68b1a/32.png) [@florian.lechler](https://community.ciphermail.com/u/florian.lechler)\
**Post date:** [February 16, 2021, 11:51am UTC](https://community.ciphermail.com/t/automatically-attach-pgp-public-key-if-used-with-ciphermail/722/1 "2021-02-16T11:51:27Z")

</div>

Hello,

is there a way to automatically attach a users PGP public key to an outgoing mail.  
Maybe in general or maybe only if PGP functions like sign only or sign/encrypt is beeing used and done by Ciphermail?

Using S/MIME, a signed mail gives the recipient everything he needs to answer encrypted.  
With PGP, the public key can not be extracted from a signed mail, thus it needs to be attached or manually downloaded.

Is there a respective function in Ciphermail?

Greetings  
Flo

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [February 25, 2021, 9:48am UTC](https://community.ciphermail.com/t/automatically-attach-pgp-public-key-if-used-with-ciphermail/722/2 "2021-02-25T09:48:19Z")

</div>

Hi Flo,

At the moment there is no such option. I'll add it to the wish list.

Kind regards,

Martijn Brinkers

> **···**
>
> --  
> CipherMail email encryption  
> Email encryption with support for S/MIME,  
> OpenPGP, PDF Messenger and Webmail Messenger
> 
> On Tue, 2021-02-16 at 11:51 +0000, florian.lechler--- via Users wrote:
> 
> > Hello,
> > 
> > is there a way to automatically attach a users PGP public key to an  
> > outgoing mail.  
> > Maybe in general or maybe only if PGP functions like sign only or  
> > sign/encrypt is beeing used and done by Ciphermail?
> > 
> > Using S/MIME, a signed mail gives the recipient everything he needs  
> > to answer encrypted.  
> > With PGP, the public key can not be extracted from a signed mail,  
> > thus it needs to be attached or manually downloaded.
> > 
> > Is there a respective function in Ciphermail?
> > 
> > Greetings  
> > Flo
