{"action":"created","issue":{"url":"https://api.github.com/repos/01org/tpm2-tools/issues/422","repository_url":"https://api.github.com/repos/01org/tpm2-tools","labels_url":"https://api.github.com/repos/01org/tpm2-tools/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/01org/tpm2-tools/issues/422/comments","events_url":"https://api.github.com/repos/01org/tpm2-tools/issues/422/events","html_url":"https://github.com/01org/tpm2-tools/issues/422","id":251865178,"number":422,"title":"No tools are available for Hash/HMAC/Event Sequences","user":{"login":"liuqun","id":64795,"avatar_url":"https://avatars0.githubusercontent.com/u/64795?v=4","gravatar_id":"","url":"https://api.github.com/users/liuqun","html_url":"https://github.com/liuqun","followers_url":"https://api.github.com/users/liuqun/followers","following_url":"https://api.github.com/users/liuqun/following{/other_user}","gists_url":"https://api.github.com/users/liuqun/gists{/gist_id}","starred_url":"https://api.github.com/users/liuqun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuqun/subscriptions","organizations_url":"https://api.github.com/users/liuqun/orgs","repos_url":"https://api.github.com/users/liuqun/repos","events_url":"https://api.github.com/users/liuqun/events{/privacy}","received_events_url":"https://api.github.com/users/liuqun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-22T07:40:19Z","updated_at":"2017-08-25T21:22:39Z","closed_at":null,"body":"There isn't any tool that uses the following Hash, HMAC, or event sequences API:\r\n1. Hash sequences commands:\r\n Tss2_Sys_HashSequenceStart() / Tss2_Sys_SequenceUpdate() / Tss2_Sys_SequenceComplete()\r\n1. HMAC sequences commands:\r\n Tss2_Sys_HMAC_Start() / Tss2_Sys_SequenceUpdate() / Tss2_Sys_SequenceComplete()\r\n1. Event sequences commands:\r\n Tss2_Sys_HashSequenceStart() / Tss2_Sys_SequenceUpdate() / Tss2_Sys_EventSequenceComplete()\r\n\r\nIn my opinion, we may improve the existing tools by introducing sequences commands.\r\n- An enhanced version of \"**tpm2_hash**\" to support any input file larger than 1024 bytes.\r\n- An enhanced version of \"**tpm2_hmac**\" to support any input file as well.\r\n- A simple version of \"**tpm2_pcrevent**\" that uses single Tss2_Sys_PCR_Event() command to handle with data within 1024 bytes. (\"**tpm2_pcrextend**\" requires an existing hash digest, while \"tpm2_pcrevent\" doesn't.)\r\n- An enhanced version of \"tpm2_pcrevent\" which uses the event sequences to handle larger files."},"comment":{"url":"https://api.github.com/repos/01org/tpm2-tools/issues/comments/325037413","html_url":"https://github.com/01org/tpm2-tools/issues/422#issuecomment-325037413","issue_url":"https://api.github.com/repos/01org/tpm2-tools/issues/422","id":325037413,"user":{"login":"williamcroberts","id":17750791,"avatar_url":"https://avatars0.githubusercontent.com/u/17750791?v=4","gravatar_id":"","url":"https://api.github.com/users/williamcroberts","html_url":"https://github.com/williamcroberts","followers_url":"https://api.github.com/users/williamcroberts/followers","following_url":"https://api.github.com/users/williamcroberts/following{/other_user}","gists_url":"https://api.github.com/users/williamcroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/williamcroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamcroberts/subscriptions","organizations_url":"https://api.github.com/users/williamcroberts/orgs","repos_url":"https://api.github.com/users/williamcroberts/repos","events_url":"https://api.github.com/users/williamcroberts/events{/privacy}","received_events_url":"https://api.github.com/users/williamcroberts/received_events","type":"User","site_admin":false},"created_at":"2017-08-25T21:22:39Z","updated_at":"2017-08-25T21:22:39Z","body":"For tpm2_pcrevent, I have that started, but the sequencing is throwing an error \"TPM_RC_AUTH_MISSING\" on the Tss2_Sys_EventSequenceComplete call.\r\n\r\nSee:\r\nhttps://github.com/williamcroberts/tpm2.0-tools/tree/tpm2_pcrevent\r\n"}}
{"actor":{"display_login":"williamcroberts"}}