Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I use –clearsign, the plain text has sometimes extra dashes in it – why?

clearsign dashes extra plain text
0
Posted

When I use –clearsign, the plain text has sometimes extra dashes in it – why?

0

This is called dash-escaped text and is required by OpenPGP. It always happens when a line starts with a dash (“-“) and is needed to make the lines that structure signature and text (i.e., “—–BEGIN PGP SIGNATURE—–“) to be the only lines that start with two dashes. If you use GnuPG to process those messages, the extra dashes are removed. Good mail clients remove those extra dashes when displaying such a message.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.