From: nsz Date: Thu, 8 Dec 2011 12:32:51 +0000 (+0100) Subject: document comment fixes X-Git-Url: http://nsz.repo.hu/git/?p=epoint;a=commitdiff_plain;h=71e450bd3f8565fe56b3cf4f094e783ad6e5e4b0 document comment fixes --- 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 (