{"action":"opened","number":212,"pull_request":{"url":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212","id":71591974,"html_url":"https://github.com/opendnssec/SoftHSMv2/pull/212","diff_url":"https://github.com/opendnssec/SoftHSMv2/pull/212.diff","patch_url":"https://github.com/opendnssec/SoftHSMv2/pull/212.patch","issue_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/212","number":212,"state":"open","locked":false,"title":"Fixing of ECB cipher.","user":{"login":"larssilven","id":6523478,"avatar_url":"https://avatars.githubusercontent.com/u/6523478?v=3","gravatar_id":"","url":"https://api.github.com/users/larssilven","html_url":"https://github.com/larssilven","followers_url":"https://api.github.com/users/larssilven/followers","following_url":"https://api.github.com/users/larssilven/following{/other_user}","gists_url":"https://api.github.com/users/larssilven/gists{/gist_id}","starred_url":"https://api.github.com/users/larssilven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larssilven/subscriptions","organizations_url":"https://api.github.com/users/larssilven/orgs","repos_url":"https://api.github.com/users/larssilven/repos","events_url":"https://api.github.com/users/larssilven/events{/privacy}","received_events_url":"https://api.github.com/users/larssilven/received_events","type":"User","site_admin":false},"body":"If ECB ciphering was done with C_EncryptUpdate or C_DecryptUpdate then the call failed when the updated part was not a multiple of the block size.\r\nThis is wrong; these functions must handle any part length.\r\nThe requirement of multiple block size does only affect C_EncryptFinal and C_DecryptFinal; when any of these functions is called then the total length must be a multiple of the block size.\r\nThis commit fixes these issues.\r\nAlso the prediction for the needed output buffer length that is returned when a crypto function is called with NULL_PTR as input should now be more accurate.\r\nTo do a thorough test of all this, the \"p11test\" has been enhanced to use different part lengths to the update function.","created_at":"2016-05-26T17:15:21Z","updated_at":"2016-05-26T17:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212/commits","review_comments_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212/comments","review_comment_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/212/comments","statuses_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/statuses/3d8eb62cf1277751274a156e4597f635d02bb783","head":{"label":"larssilven:fixNoPaddingCipher","ref":"fixNoPaddingCipher","sha":"3d8eb62cf1277751274a156e4597f635d02bb783","user":{"login":"larssilven","id":6523478,"avatar_url":"https://avatars.githubusercontent.com/u/6523478?v=3","gravatar_id":"","url":"https://api.github.com/users/larssilven","html_url":"https://github.com/larssilven","followers_url":"https://api.github.com/users/larssilven/followers","following_url":"https://api.github.com/users/larssilven/following{/other_user}","gists_url":"https://api.github.com/users/larssilven/gists{/gist_id}","starred_url":"https://api.github.com/users/larssilven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larssilven/subscriptions","organizations_url":"https://api.github.com/users/larssilven/orgs","repos_url":"https://api.github.com/users/larssilven/repos","events_url":"https://api.github.com/users/larssilven/events{/privacy}","received_events_url":"https://api.github.com/users/larssilven/received_events","type":"User","site_admin":false},"repo":{"id":57806349,"name":"SoftHSMv2","full_name":"larssilven/SoftHSMv2","owner":{"login":"larssilven","id":6523478,"avatar_url":"https://avatars.githubusercontent.com/u/6523478?v=3","gravatar_id":"","url":"https://api.github.com/users/larssilven","html_url":"https://github.com/larssilven","followers_url":"https://api.github.com/users/larssilven/followers","following_url":"https://api.github.com/users/larssilven/following{/other_user}","gists_url":"https://api.github.com/users/larssilven/gists{/gist_id}","starred_url":"https://api.github.com/users/larssilven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larssilven/subscriptions","organizations_url":"https://api.github.com/users/larssilven/orgs","repos_url":"https://api.github.com/users/larssilven/repos","events_url":"https://api.github.com/users/larssilven/events{/privacy}","received_events_url":"https://api.github.com/users/larssilven/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larssilven/SoftHSMv2","description":"SoftHSM version 2","fork":true,"url":"https://api.github.com/repos/larssilven/SoftHSMv2","forks_url":"https://api.github.com/repos/larssilven/SoftHSMv2/forks","keys_url":"https://api.github.com/repos/larssilven/SoftHSMv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larssilven/SoftHSMv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larssilven/SoftHSMv2/teams","hooks_url":"https://api.github.com/repos/larssilven/SoftHSMv2/hooks","issue_events_url":"https://api.github.com/repos/larssilven/SoftHSMv2/issues/events{/number}","events_url":"https://api.github.com/repos/larssilven/SoftHSMv2/events","assignees_url":"https://api.github.com/repos/larssilven/SoftHSMv2/assignees{/user}","branches_url":"https://api.github.com/repos/larssilven/SoftHSMv2/branches{/branch}","tags_url":"https://api.github.com/repos/larssilven/SoftHSMv2/tags","blobs_url":"https://api.github.com/repos/larssilven/SoftHSMv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larssilven/SoftHSMv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larssilven/SoftHSMv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/larssilven/SoftHSMv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larssilven/SoftHSMv2/statuses/{sha}","languages_url":"https://api.github.com/repos/larssilven/SoftHSMv2/languages","stargazers_url":"https://api.github.com/repos/larssilven/SoftHSMv2/stargazers","contributors_url":"https://api.github.com/repos/larssilven/SoftHSMv2/contributors","subscribers_url":"https://api.github.com/repos/larssilven/SoftHSMv2/subscribers","subscription_url":"https://api.github.com/repos/larssilven/SoftHSMv2/subscription","commits_url":"https://api.github.com/repos/larssilven/SoftHSMv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/larssilven/SoftHSMv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/larssilven/SoftHSMv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/larssilven/SoftHSMv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/larssilven/SoftHSMv2/contents/{+path}","compare_url":"https://api.github.com/repos/larssilven/SoftHSMv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larssilven/SoftHSMv2/merges","archive_url":"https://api.github.com/repos/larssilven/SoftHSMv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larssilven/SoftHSMv2/downloads","issues_url":"https://api.github.com/repos/larssilven/SoftHSMv2/issues{/number}","pulls_url":"https://api.github.com/repos/larssilven/SoftHSMv2/pulls{/number}","milestones_url":"https://api.github.com/repos/larssilven/SoftHSMv2/milestones{/number}","notifications_url":"https://api.github.com/repos/larssilven/SoftHSMv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larssilven/SoftHSMv2/labels{/name}","releases_url":"https://api.github.com/repos/larssilven/SoftHSMv2/releases{/id}","deployments_url":"https://api.github.com/repos/larssilven/SoftHSMv2/deployments","created_at":"2016-05-01T20:31:47Z","updated_at":"2016-05-01T20:31:49Z","pushed_at":"2016-05-26T17:07:17Z","git_url":"git://github.com/larssilven/SoftHSMv2.git","ssh_url":"git@github.com:larssilven/SoftHSMv2.git","clone_url":"https://github.com/larssilven/SoftHSMv2.git","svn_url":"https://github.com/larssilven/SoftHSMv2","homepage":"http://www.softhsm.org/","size":3231,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"fixNoPaddingCipher"}},"base":{"label":"opendnssec:develop","ref":"develop","sha":"412abba257c7a6f132abecb495c9fed6bf4e6916","user":{"login":"opendnssec","id":3379363,"avatar_url":"https://avatars.githubusercontent.com/u/3379363?v=3","gravatar_id":"","url":"https://api.github.com/users/opendnssec","html_url":"https://github.com/opendnssec","followers_url":"https://api.github.com/users/opendnssec/followers","following_url":"https://api.github.com/users/opendnssec/following{/other_user}","gists_url":"https://api.github.com/users/opendnssec/gists{/gist_id}","starred_url":"https://api.github.com/users/opendnssec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendnssec/subscriptions","organizations_url":"https://api.github.com/users/opendnssec/orgs","repos_url":"https://api.github.com/users/opendnssec/repos","events_url":"https://api.github.com/users/opendnssec/events{/privacy}","received_events_url":"https://api.github.com/users/opendnssec/received_events","type":"Organization","site_admin":false},"repo":{"id":10314787,"name":"SoftHSMv2","full_name":"opendnssec/SoftHSMv2","owner":{"login":"opendnssec","id":3379363,"avatar_url":"https://avatars.githubusercontent.com/u/3379363?v=3","gravatar_id":"","url":"https://api.github.com/users/opendnssec","html_url":"https://github.com/opendnssec","followers_url":"https://api.github.com/users/opendnssec/followers","following_url":"https://api.github.com/users/opendnssec/following{/other_user}","gists_url":"https://api.github.com/users/opendnssec/gists{/gist_id}","starred_url":"https://api.github.com/users/opendnssec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendnssec/subscriptions","organizations_url":"https://api.github.com/users/opendnssec/orgs","repos_url":"https://api.github.com/users/opendnssec/repos","events_url":"https://api.github.com/users/opendnssec/events{/privacy}","received_events_url":"https://api.github.com/users/opendnssec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opendnssec/SoftHSMv2","description":"SoftHSM version 2","fork":false,"url":"https://api.github.com/repos/opendnssec/SoftHSMv2","forks_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/forks","keys_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/teams","hooks_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/hooks","issue_events_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/events{/number}","events_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/events","assignees_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/assignees{/user}","branches_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/branches{/branch}","tags_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/tags","blobs_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/statuses/{sha}","languages_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/languages","stargazers_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/stargazers","contributors_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/contributors","subscribers_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/subscribers","subscription_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/subscription","commits_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/contents/{+path}","compare_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/merges","archive_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/downloads","issues_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues{/number}","pulls_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls{/number}","milestones_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/milestones{/number}","notifications_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/labels{/name}","releases_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/releases{/id}","deployments_url":"https://api.github.com/repos/opendnssec/SoftHSMv2/deployments","created_at":"2013-05-27T12:54:47Z","updated_at":"2016-05-12T13:06:59Z","pushed_at":"2016-05-10T20:12:23Z","git_url":"git://github.com/opendnssec/SoftHSMv2.git","ssh_url":"git@github.com:opendnssec/SoftHSMv2.git","clone_url":"https://github.com/opendnssec/SoftHSMv2.git","svn_url":"https://github.com/opendnssec/SoftHSMv2","homepage":"http://www.softhsm.org/","size":4019,"stargazers_count":71,"watchers_count":71,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":21,"forks":44,"open_issues":21,"watchers":71,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212"},"html":{"href":"https://github.com/opendnssec/SoftHSMv2/pull/212"},"issue":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/212"},"comments":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/opendnssec/SoftHSMv2/statuses/3d8eb62cf1277751274a156e4597f635d02bb783"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":285,"deletions":443,"changed_files":3}}
{"actor":{"display_login":"larssilven"}}