{"action":"opened","issue":{"url":"https://api.github.com/repos/protobuf-c/protobuf-c/issues/226","repository_url":"https://api.github.com/repos/protobuf-c/protobuf-c","labels_url":"https://api.github.com/repos/protobuf-c/protobuf-c/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/protobuf-c/protobuf-c/issues/226/comments","events_url":"https://api.github.com/repos/protobuf-c/protobuf-c/issues/226/events","html_url":"https://github.com/protobuf-c/protobuf-c/issues/226","id":164719778,"number":226,"title":"Access to binary representation of embedded messages.","user":{"login":"FSMaxB","id":4294942,"avatar_url":"https://avatars.githubusercontent.com/u/4294942?v=3","gravatar_id":"","url":"https://api.github.com/users/FSMaxB","html_url":"https://github.com/FSMaxB","followers_url":"https://api.github.com/users/FSMaxB/followers","following_url":"https://api.github.com/users/FSMaxB/following{/other_user}","gists_url":"https://api.github.com/users/FSMaxB/gists{/gist_id}","starred_url":"https://api.github.com/users/FSMaxB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FSMaxB/subscriptions","organizations_url":"https://api.github.com/users/FSMaxB/orgs","repos_url":"https://api.github.com/users/FSMaxB/repos","events_url":"https://api.github.com/users/FSMaxB/events{/privacy}","received_events_url":"https://api.github.com/users/FSMaxB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T15:12:15Z","updated_at":"2016-07-10T15:12:15Z","closed_at":null,"body":"I have a message `A` that embeds another message `B`. When I unpack `A`, `B` gets automatically unpacked as well.\r\n\r\nWhat I need is access to the binary data of `B` in order to authenticate it using an AEAD scheme (authenticated encryption with additional data). I thought about taking the unpacked `B` and packing it again, but I don't think there is a guarantee that it will be exactly the same as the original packet `B`.\r\n\r\nIs there a way that I can get access to the binary represantation of `B`?"}}
{"actor":{"display_login":"FSMaxB"}}