{"action":"closed","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/667","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/667/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/667/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/667/events","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/667","id":248146146,"node_id":"MDU6SXNzdWUyNDgxNDYxNDY=","number":667,"title":"Issue generating tokens with a certificate on full framework","user":{"login":"javiercn","id":6995051,"node_id":"MDQ6VXNlcjY5OTUwNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/6995051?v=4","gravatar_id":"","url":"https://api.github.com/users/javiercn","html_url":"https://github.com/javiercn","followers_url":"https://api.github.com/users/javiercn/followers","following_url":"https://api.github.com/users/javiercn/following{/other_user}","gists_url":"https://api.github.com/users/javiercn/gists{/gist_id}","starred_url":"https://api.github.com/users/javiercn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiercn/subscriptions","organizations_url":"https://api.github.com/users/javiercn/orgs","repos_url":"https://api.github.com/users/javiercn/repos","events_url":"https://api.github.com/users/javiercn/events{/privacy}","received_events_url":"https://api.github.com/users/javiercn/received_events","type":"User","site_admin":false},"labels":[{"id":99596199,"node_id":"MDU6TGFiZWw5OTU5NjE5OQ==","url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/P1","name":"P1","color":"e11d21","default":false},{"id":138195332,"node_id":"MDU6TGFiZWwxMzgxOTUzMzI=","url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/User%20reported","name":"User reported","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"lovemaths","id":6593843,"node_id":"MDQ6VXNlcjY1OTM4NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/6593843?v=4","gravatar_id":"","url":"https://api.github.com/users/lovemaths","html_url":"https://github.com/lovemaths","followers_url":"https://api.github.com/users/lovemaths/followers","following_url":"https://api.github.com/users/lovemaths/following{/other_user}","gists_url":"https://api.github.com/users/lovemaths/gists{/gist_id}","starred_url":"https://api.github.com/users/lovemaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovemaths/subscriptions","organizations_url":"https://api.github.com/users/lovemaths/orgs","repos_url":"https://api.github.com/users/lovemaths/repos","events_url":"https://api.github.com/users/lovemaths/events{/privacy}","received_events_url":"https://api.github.com/users/lovemaths/received_events","type":"User","site_admin":false},"assignees":[{"login":"lovemaths","id":6593843,"node_id":"MDQ6VXNlcjY1OTM4NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/6593843?v=4","gravatar_id":"","url":"https://api.github.com/users/lovemaths","html_url":"https://github.com/lovemaths","followers_url":"https://api.github.com/users/lovemaths/followers","following_url":"https://api.github.com/users/lovemaths/following{/other_user}","gists_url":"https://api.github.com/users/lovemaths/gists{/gist_id}","starred_url":"https://api.github.com/users/lovemaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovemaths/subscriptions","organizations_url":"https://api.github.com/users/lovemaths/orgs","repos_url":"https://api.github.com/users/lovemaths/repos","events_url":"https://api.github.com/users/lovemaths/events{/privacy}","received_events_url":"https://api.github.com/users/lovemaths/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/milestones/18","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/milestone/18","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/milestones/18/labels","id":2304639,"node_id":"MDk6TWlsZXN0b25lMjMwNDYzOQ==","number":18,"title":"5.2.0","description":"Next planned 5.x release\r\nWill include:\r\nWsFed for net451 target\r\n1.6 net standard target\r\n\r\nWe moved the date out to accomidate WsFed for Core.\r\n\r\nAug 24th.\r\nMoved date out to support signedxml","creator":{"login":"brentschmaltz","id":3172421,"node_id":"MDQ6VXNlcjMxNzI0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/3172421?v=4","gravatar_id":"","url":"https://api.github.com/users/brentschmaltz","html_url":"https://github.com/brentschmaltz","followers_url":"https://api.github.com/users/brentschmaltz/followers","following_url":"https://api.github.com/users/brentschmaltz/following{/other_user}","gists_url":"https://api.github.com/users/brentschmaltz/gists{/gist_id}","starred_url":"https://api.github.com/users/brentschmaltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentschmaltz/subscriptions","organizations_url":"https://api.github.com/users/brentschmaltz/orgs","repos_url":"https://api.github.com/users/brentschmaltz/repos","events_url":"https://api.github.com/users/brentschmaltz/events{/privacy}","received_events_url":"https://api.github.com/users/brentschmaltz/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":107,"state":"closed","created_at":"2017-02-07T02:44:26Z","updated_at":"2018-06-19T04:16:41Z","due_on":"2017-12-16T08:00:00Z","closed_at":"2018-02-05T20:35:40Z"},"comments":8,"created_at":"2017-08-05T00:44:05Z","updated_at":"2018-06-19T04:16:41Z","closed_at":"2018-06-19T04:16:41Z","author_association":"NONE","body":"I'm trying to generate a JWT token using a certificate as signing credentials and I'm getting an exception from the JwtSecurityTokenHandler.\r\n\r\nIt seems that it's calling the wrong .net framework api to get the private key.\r\n\r\nhttps://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/master/src/Microsoft.IdentityModel.Tokens/X509SecurityKey.cs#L92\r\n\r\nThe api below throws an exception _certificate.GetRSAPrivateKey() returns the key correctly.\r\n\r\n[CertificateRepro.zip](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/files/1201974/CertificateRepro.zip)\r\n"}}
{"actor":{"display_login":"brentschmaltz"}}