Re: [openpgp] PGP signatures

Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 26 July 2012 22:36 UTC

Return-Path: <dkg@fifthhorseman.net>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC86C11E80C4 for <openpgp@ietfa.amsl.com>; Thu, 26 Jul 2012 15:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ujy6aASW9mQ for <openpgp@ietfa.amsl.com>; Thu, 26 Jul 2012 15:36:07 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108]) by ietfa.amsl.com (Postfix) with ESMTP id 4B06B11E80AE for <openpgp@ietf.org>; Thu, 26 Jul 2012 15:36:07 -0700 (PDT)
Received: from [192.168.13.75] (lair.fifthhorseman.net [108.58.6.98]) by che.mayfirst.org (Postfix) with ESMTPSA id 41535F979; Thu, 26 Jul 2012 18:36:04 -0400 (EDT)
Message-ID: <5011C64C.50304@fifthhorseman.net>
Date: Thu, 26 Jul 2012 18:35:56 -0400
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5
MIME-Version: 1.0
To: George Lind <glind98@gmail.com>
References: <CAOfLfKxVh__cJH6c-bAo1KRmQM0QPyAywQMHLwQL7PCLhZ0vFQ@mail.gmail.com>
In-Reply-To: <CAOfLfKxVh__cJH6c-bAo1KRmQM0QPyAywQMHLwQL7PCLhZ0vFQ@mail.gmail.com>
X-Enigmail-Version: 1.4.1
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="------------enigC8CB8D85218B8D98E9CECCC5"
Cc: openpgp@ietf.org
Subject: Re: [openpgp] PGP signatures
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/openpgp>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2012 22:36:08 -0000

On 07/26/2012 03:13 PM, George Lind wrote:
> Can anyone explain how signatures are calculated, particularly on public
> keys?

computing OpenPGP signatures in general:

  https://tools.ietf.org/html/rfc4880#section-5.2.4

The particular format of primary key packet:

 https://tools.ietf.org/html/rfc4880#section-5.5.2

If you have more specific questions, or you have code that is supposed
to behave a certain way but isn't, please ask or show more detail.

hth,

	--dkg