{"action":"created","issue":{"url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/25","repository_url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook","labels_url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/25/comments","events_url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/25/events","html_url":"https://github.com/tomasmcguinness/dotnet-passbook/issues/25","id":29826842,"number":25,"title":"Unsupported algorithm","user":{"login":"Jornan","id":3278797,"avatar_url":"https://avatars.githubusercontent.com/u/3278797?v=3","gravatar_id":"","url":"https://api.github.com/users/Jornan","html_url":"https://github.com/Jornan","followers_url":"https://api.github.com/users/Jornan/followers","following_url":"https://api.github.com/users/Jornan/following{/other_user}","gists_url":"https://api.github.com/users/Jornan/gists{/gist_id}","starred_url":"https://api.github.com/users/Jornan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jornan/subscriptions","organizations_url":"https://api.github.com/users/Jornan/orgs","repos_url":"https://api.github.com/users/Jornan/repos","events_url":"https://api.github.com/users/Jornan/events{/privacy}","received_events_url":"https://api.github.com/users/Jornan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-03-20T15:12:14Z","updated_at":"2016-02-29T11:24:54Z","closed_at":"2014-03-25T06:58:55Z","body":"I have tried to implement this library and have used the following code (replacing \"identifier\", \"thumbprint\" and so on with my actual data):\r\n\r\n            generator = new PassGenerator();\r\n            request = new PassGeneratorRequest();\r\n            request.PassTypeIdentifier = \"identifier\";\r\n            request.TeamIdentifier = \"myTeamIdentifier\";\r\n            request.SerialNumber = \"serialNr\";\r\n            request.Description = \"text\";\r\n            request.OrganizationName = \"text\";\r\n            request.LogoText = \"text\";\r\n            request.CertThumbprint = \"thumbprint\";\r\n            request.CertLocation = System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser;\r\n\r\n            request.BackgroundColor = \"rgb(255,255,255)\";\r\n            request.ForegroundColor = \"rgb(0,0,0)\";\r\n\r\n            request.Images.Add(PassbookImage.Icon, System.IO.File.ReadAllBytes(@\"C:\\Users\\Administrator\\Documents\\Visual Studio 2013\\Projects\\PassbookGenerator\\Icons\\Icon.png\"));\r\n            request.Images.Add(PassbookImage.IconRetina, System.IO.File.ReadAllBytes(@\"C:\\Users\\Administrator\\Documents\\Visual Studio 2013\\Projects\\PassbookGenerator\\Icons\\Icon@2x.png\"));\r\n\r\n            request.Style = PassStyle.Generic;\r\n\r\n            request.AddPrimaryField(new StandardField(\"name\", \"\", \"Name\"));\r\n\r\n            request.AddSecondaryField(new StandardField(\"exercise\", \"Exercise\", \"Test\"));\r\n\r\n            request.AddAuxiliaryField(new StandardField(\"seat\", \"From date\", \"01-01-2014\"));\r\n\r\n                byte[] generatedPass = generator.Generate(request);\r\n\r\n\r\n\r\nWhen the last line of code is executed I get an ArgumentException saying \"Unsupported algorithm specified\". Any ida what I am doing wrong and how to fix it? The exception occurs in BountyCastle.Crypto.dll"},"comment":{"url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/comments/190163423","html_url":"https://github.com/tomasmcguinness/dotnet-passbook/issues/25#issuecomment-190163423","issue_url":"https://api.github.com/repos/tomasmcguinness/dotnet-passbook/issues/25","id":190163423,"user":{"login":"tomasmcguinness","id":302741,"avatar_url":"https://avatars.githubusercontent.com/u/302741?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasmcguinness","html_url":"https://github.com/tomasmcguinness","followers_url":"https://api.github.com/users/tomasmcguinness/followers","following_url":"https://api.github.com/users/tomasmcguinness/following{/other_user}","gists_url":"https://api.github.com/users/tomasmcguinness/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasmcguinness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasmcguinness/subscriptions","organizations_url":"https://api.github.com/users/tomasmcguinness/orgs","repos_url":"https://api.github.com/users/tomasmcguinness/repos","events_url":"https://api.github.com/users/tomasmcguinness/events{/privacy}","received_events_url":"https://api.github.com/users/tomasmcguinness/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T11:24:54Z","updated_at":"2016-02-29T11:24:54Z","body":"The best thing to do is look at the log files produced by your device when you try to open the pass. Once you have the error message, please open a new issue and I'll review it.\r\n\r\nT"}}