{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/specs/issues/24","labels_url":"https://api.github.com/repos/ipfs/specs/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/specs/issues/24/comments","events_url":"https://api.github.com/repos/ipfs/specs/issues/24/events","html_url":"https://github.com/ipfs/specs/issues/24","id":104316594,"number":24,"title":"need for clarification on how a Record is really structured","user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-01T17:28:11Z","updated_at":"2015-09-21T20:12:08Z","closed_at":null,"body":"The type `Record` appears several times through the spec with different formats\r\n\r\n```go\r\ntype Record struct {\r\n  Value     []byte\r\n  Expires   time.Duration\r\n  Signature []byte\r\n}\r\n```\r\n\r\n```go\r\nRecord Node {\r\n  Scheme   Link // link to a validity scheme\r\n  Value    Link // link to an object representing the value.\r\n  Version  Data // record version number\r\n  Validity Data // data needed to satisfy the validity scheme\r\n}\r\n```\r\n\r\n```go\r\ntype Record struct {\r\n  Scheme    Link // link to the validity scheme\r\n  Signature Link // link to a cryptographic signature over the rest of record\r\n  Value     Data // an opaque value\r\n}\r\n```\r\n\r\n```go\r\ntype Record struct {\r\n  Scheme    Link // link to the validity scheme\r\n  Signature  Link // link to a cryptographic signature over the record\r\n  Expires   Data // datetime at which record expires\r\n  Value     Data // an opaque value\r\n}\r\n```\r\n\r\nShouldn't it be just the last one?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/specs/issues/comments/142095817","html_url":"https://github.com/ipfs/specs/issues/24#issuecomment-142095817","issue_url":"https://api.github.com/repos/ipfs/specs/issues/24","id":142095817,"user":{"login":"ianopolous","id":179418,"avatar_url":"https://avatars.githubusercontent.com/u/179418?v=3","gravatar_id":"","url":"https://api.github.com/users/ianopolous","html_url":"https://github.com/ianopolous","followers_url":"https://api.github.com/users/ianopolous/followers","following_url":"https://api.github.com/users/ianopolous/following{/other_user}","gists_url":"https://api.github.com/users/ianopolous/gists{/gist_id}","starred_url":"https://api.github.com/users/ianopolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianopolous/subscriptions","organizations_url":"https://api.github.com/users/ianopolous/orgs","repos_url":"https://api.github.com/users/ianopolous/repos","events_url":"https://api.github.com/users/ianopolous/events{/privacy}","received_events_url":"https://api.github.com/users/ianopolous/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T20:12:08Z","updated_at":"2015-09-21T20:12:08Z","body":"I would avoid secp256k1. Use ed25519 as in tweetnacl. As far as I can see, there is very little reason to use any other public key crypto these days, with the exception of post quantum algorithms, or if you need legacy support. \r\n"}}