{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480","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/480/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480/events","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480","id":169228203,"number":480,"title":"RsaSecurityKey.HasPrivateKey throws a NotSupportedException when the underlying algorithm instance is a RSACng on .NET Desktop","user":{"login":"PinpointTownes","id":6998306,"avatar_url":"https://avatars1.githubusercontent.com/u/6998306?v=4","gravatar_id":"","url":"https://api.github.com/users/PinpointTownes","html_url":"https://github.com/PinpointTownes","followers_url":"https://api.github.com/users/PinpointTownes/followers","following_url":"https://api.github.com/users/PinpointTownes/following{/other_user}","gists_url":"https://api.github.com/users/PinpointTownes/gists{/gist_id}","starred_url":"https://api.github.com/users/PinpointTownes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PinpointTownes/subscriptions","organizations_url":"https://api.github.com/users/PinpointTownes/orgs","repos_url":"https://api.github.com/users/PinpointTownes/repos","events_url":"https://api.github.com/users/PinpointTownes/events{/privacy}","received_events_url":"https://api.github.com/users/PinpointTownes/received_events","type":"User","site_admin":false},"labels":[{"id":99596199,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/P1","name":"P1","color":"e11d21","default":false},{"id":390287913,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/PR%20Submitted","name":"PR Submitted","color":"006b75","default":false},{"id":138195332,"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,"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,"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,"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,"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":29,"closed_issues":62,"state":"open","created_at":"2017-02-07T02:44:26Z","updated_at":"2017-10-06T21:49:32Z","due_on":"2017-09-16T07:00:00Z","closed_at":null},"comments":28,"created_at":"2016-08-03T20:39:34Z","updated_at":"2017-10-06T21:49:32Z","closed_at":"2017-10-06T21:49:32Z","author_association":"CONTRIBUTOR","body":"``` csharp\nSystem.NotSupportedException: Méthode non prise en charge.\n   à System.Security.Cryptography.RSA.DecryptValue(Byte[] rgb)\n   à Microsoft.IdentityModel.Tokens.RsaSecurityKey.get_HasPrivateKey()\n```\n\nIn > .NET 4.6, `RSA.DecryptValue` and `RSA.EncryptValue` are considered as \"obsolete\" (which is a very debatable choice, IMHO) and are now virtual instead of abstract. It wouldn't be a big deal if `RSACng` implemented them... but it does not. The sad news is that IdentityModel can't handle `RSACng`-based keys on .NET Desktop as it uses `RSA.DecryptValue` to \"determine\" if there's a private key (I guess IM 4.5 Desktop is similarly impacted).\n\nIdeally, we should use `Decrypt(byte[] data, RSAEncryptionPadding padding)` or `SignData(byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)` but these APIs are not part of .NET 4.5. One option might be to re-target IM 5 to require .NET 4.6. Another one is to use reflection to use these new APIs when they exist.\n\nReference: http://referencesource.microsoft.com/#mscorlib/system/security/cryptography/rsa.cs,193\n\n/cc @brentschmaltz @polita\n"},"comment":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/comments/334878644","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480#issuecomment-334878644","issue_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/480","id":334878644,"user":{"login":"brentschmaltz","id":3172421,"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},"created_at":"2017-10-06T21:49:31Z","updated_at":"2017-10-06T21:49:31Z","author_association":"MEMBER","body":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/778"}}
{"actor":{"display_login":"brentschmaltz"}}