projects
/
epoint
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
60f0391
)
document comment fixes
author
nsz
<nsz@port70.net>
Thu, 8 Dec 2011 12:32:51 +0000
(13:32 +0100)
committer
nsz
<nsz@port70.net>
Thu, 8 Dec 2011 12:32:51 +0000
(13:32 +0100)
pkg/document/document.go
patch
|
blob
|
history
diff --git
a/pkg/document/document.go
b/pkg/document/document.go
index
0c8b0f4
..
22065fc
100644
(file)
--- 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.
// 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.
//
// 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
//
// -----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
//
// 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: 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 (
// TODO: denom, issuer from key (key representation: armor?)
import (