{"action":"opened","issue":{"url":"https://api.github.com/repos/Dviejopomata/flutter-p12/issues/1","repository_url":"https://api.github.com/repos/Dviejopomata/flutter-p12","labels_url":"https://api.github.com/repos/Dviejopomata/flutter-p12/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Dviejopomata/flutter-p12/issues/1/comments","events_url":"https://api.github.com/repos/Dviejopomata/flutter-p12/issues/1/events","html_url":"https://github.com/Dviejopomata/flutter-p12/issues/1","id":531798899,"node_id":"MDU6SXNzdWU1MzE3OTg4OTk=","number":1,"title":"Android & IOS Signature doesn't match","user":{"login":"shaxxx","id":1778875,"node_id":"MDQ6VXNlcjE3Nzg4NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/1778875?v=4","gravatar_id":"","url":"https://api.github.com/users/shaxxx","html_url":"https://github.com/shaxxx","followers_url":"https://api.github.com/users/shaxxx/followers","following_url":"https://api.github.com/users/shaxxx/following{/other_user}","gists_url":"https://api.github.com/users/shaxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/shaxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaxxx/subscriptions","organizations_url":"https://api.github.com/users/shaxxx/orgs","repos_url":"https://api.github.com/users/shaxxx/repos","events_url":"https://api.github.com/users/shaxxx/events{/privacy}","received_events_url":"https://api.github.com/users/shaxxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-03T08:04:23Z","updated_at":"2019-12-03T08:04:23Z","closed_at":null,"author_association":"NONE","body":"I'm using my P12 cert to sign \"Hello world\" string in example app but results are not the same on IOS & Android. Signing same data (\"Hello world\") with same certificate (my P12 file) should produce identical signature on both IOS & Android using example app.\r\n\r\nI did some testing and Android produces exactly same result as .NET test I did with same data and certificate. So this pinpointed problem to IOS. Problem is IOS implementation is not same as the one on Android (PKCSA/SHA1). \r\n\r\nI was able to modify IOS to give the same result as Android but wanted to have a feedback from you about the API. Currently PKCSA/SHA1 is hardcoded in Android, and IOS has no hash algorithm specified. If someone wants to use ie. SHA256 this has to be changed inside the plugin, there's no hash algorithm parameter.\r\n\r\n"}}
{"actor":{"display_login":"shaxxx"}}