Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

problem signing public key, ----- gets converted to - -----

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


anotst01 at fastmail

May 29, 2012, 6:15 AM

Post #1 of 5 (195 views)
Permalink
problem signing public key, ----- gets converted to - -----

I want to post a public key in a blog and sign the blog entry. The
problem is, that ----- gets converted to - -----. The reader can't copy
and paste the public key, he has to remove the "- " first.

Example...

-----BEGIN PGP PUBLIC KEY BLOCK-----
<public key>
-----END PGP PUBLIC KEY BLOCK-----


- -----BEGIN PGP PUBLIC KEY BLOCK-----
<public key>
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
<signature>
-----END PGP SIGNATURE-----

Is there any way to fix this?

--
http://www.fastmail.fm - Access your email from home and the web


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


rjh at sixdemonbag

May 29, 2012, 7:41 AM

Post #2 of 5 (190 views)
Permalink
Re: problem signing public key, ----- gets converted to - ----- [In reply to]

On 5/29/12 9:15 AM, anotst01 [at] fastmail wrote:
> I want to post a public key in a blog and sign the blog entry. The
> problem is, that ----- gets converted to - -----. The reader can't copy
> and paste the public key, he has to remove the "- " first.

The best solution here is to use the keyserver network: it's what it's
there for. Upload your certificate to the keyservers like so:

gpg --keyserver pool.sks-keyservers.net --send-key MY_KEY_ID

Then tell people they can fetch your certificate by typing:

gpg --keyserver pool.sks-keyservers.net --recv-key MY_KEY_ID


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


wk at gnupg

May 29, 2012, 7:44 AM

Post #3 of 5 (190 views)
Permalink
Re: problem signing public key, ----- gets converted to - ----- [In reply to]

On Tue, 29 May 2012 15:15, anotst01 [at] fastmail said:
> I want to post a public key in a blog and sign the blog entry. The
> problem is, that ----- gets converted to - -----. The reader can't copy
> and paste the public key, he has to remove the "- " first.

If you process the signature with GPG, it will remove that escape
sequence (gpg --output foo.txt --verify foo.sig). Mail readers usually
do this for you.

Note, that signing a public key blog does not make much sense.


Salam-Shalom,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


mailinglisten at hauke-laging

May 29, 2012, 7:55 AM

Post #4 of 5 (194 views)
Permalink
Re: problem signing public key, ----- gets converted to - ----- [In reply to]

Am Di 29.05.2012, 06:15:35 schrieb anotst01 [at] fastmail:

> - -----END PGP PUBLIC KEY BLOCK-----

> Is there any way to fix this?

As Werner already said: Signing your key does not make sense. So the solution
is simple: Exclude the key out of the signed text, insert it before or
afterwards.


Hauke
--
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
Attachments: signature.asc (0.54 KB)


wk at gnupg

May 29, 2012, 8:39 AM

Post #5 of 5 (185 views)
Permalink
Re: problem signing public key, ----- gets converted to - ----- [In reply to]

On Tue, 29 May 2012 16:55, mailinglisten [at] hauke-laging said:

> is simple: Exclude the key out of the signed text, insert it before or
> afterwards.

Or use PGP/MIME.

SCNR,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.