From 71e450bd3f8565fe56b3cf4f094e783ad6e5e4b0 Mon Sep 17 00:00:00 2001 From: nsz Date: Thu, 8 Dec 2011 13:32:51 +0100 Subject: [PATCH 1/1] document comment fixes --- pkg/document/document.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/document/document.go b/pkg/document/document.go index 0c8b0f4..22065fc 100644 --- a/pkg/document/document.go +++ b/pkg/document/document.go @@ -4,7 +4,7 @@ // utf-8 text of key-value pairs. // The body contains a content-type MIME header so the document // can be used in OpenPGP/MIME (RFC 3156) emails. -// The format of the key-value pairs are similar to MIME header +// The format of the key-value pairs is similar to MIME header // fields: keys and values are separated by ": ", repeated keys // are not allowed, long values can be split before a space. // @@ -13,7 +13,7 @@ // -----BEGIN PGP SIGNED MESSAGE----- // Hash: SHA1 // -// Content-Type: text/plain.epoint.type; charset=utf-8 +// Content-Type: text/vnd.epoint.type; charset=utf-8 // // Key: Value1 // Another-Key: Value2 @@ -31,8 +31,7 @@ package document // TODO: trailing space handling in ParseFields // TODO: fields of notice (last notice, serial, failure notice,..) // TODO: limits and cert type specific input validation -// TODO: fix Cert mess -// TODO: nonce is id, id is even number of hex digits (require only drawer.nonce to be uniq) +// TODO: hex nonce, uniq nonce vs uniq drawer.nonce // TODO: denom, issuer from key (key representation: armor?) import ( -- 2.20.1