{"action":"created","issue":{"url":"https://api.github.com/repos/geel9/SteamAuth/issues/10","labels_url":"https://api.github.com/repos/geel9/SteamAuth/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/geel9/SteamAuth/issues/10/comments","events_url":"https://api.github.com/repos/geel9/SteamAuth/issues/10/events","html_url":"https://github.com/geel9/SteamAuth/issues/10","id":120923059,"number":10,"title":"System.Security.Cryptography.CryptographicException: Private/public key mismatch","user":{"login":"waylaidwanderer","id":2882110,"avatar_url":"https://avatars.githubusercontent.com/u/2882110?v=3","gravatar_id":"","url":"https://api.github.com/users/waylaidwanderer","html_url":"https://github.com/waylaidwanderer","followers_url":"https://api.github.com/users/waylaidwanderer/followers","following_url":"https://api.github.com/users/waylaidwanderer/following{/other_user}","gists_url":"https://api.github.com/users/waylaidwanderer/gists{/gist_id}","starred_url":"https://api.github.com/users/waylaidwanderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waylaidwanderer/subscriptions","organizations_url":"https://api.github.com/users/waylaidwanderer/orgs","repos_url":"https://api.github.com/users/waylaidwanderer/repos","events_url":"https://api.github.com/users/waylaidwanderer/events{/privacy}","received_events_url":"https://api.github.com/users/waylaidwanderer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-08T03:37:24Z","updated_at":"2015-12-15T02:01:49Z","closed_at":null,"body":"Getting this on my Ubuntu VPS when using the linkauth command from SteamBot:\r\n\r\n\tUnhandled Exception:\r\n\tSystem.Security.Cryptography.CryptographicException: Private/public key mismatch\r\n\t  at Mono.Security.Cryptography.RSAManaged.ImportParameters (RSAParameters parameters) [0x00000] in <filename unknown>:0\r\n\t  at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters (RSAParameters parameters) [0x00000] in <filename unknown>:0\r\n\t  at SteamAuth.UserLogin.DoLogin () [0x00000] in <filename unknown>:0\r\n\t  at SteamBot.Bot.<LinkMobileAuth>b__63_0 () [0x00000] in <filename unknown>:0\r\n\t  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0\r\n\t[ERROR] FATAL UNHANDLED EXCEPTION: System.Security.Cryptography.CryptographicException: Private/public key mismatch\r\n\t  at Mono.Security.Cryptography.RSAManaged.ImportParameters (RSAParameters parameters) [0x00000] in <filename unknown>:0\r\n\t  at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters (RSAParameters parameters) [0x00000] in <filename unknown>:0\r\n\t  at SteamAuth.UserLogin.DoLogin () [0x00000] in <filename unknown>:0\r\n\t  at SteamBot.Bot.<LinkMobileAuth>b__63_0 () [0x00000] in <filename unknown>:0\r\n\t  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0\r\n\r\n\r\nThe same command works fine on my Windows computer. Do you think it's a mono issue or something you can fix?\r\n\r\nEdit: Found [this](http://stackoverflow.com/questions/18955223/net-to-mono-system-security-cryptography-cryptographicexception-private-pub). Looks to be a bug with mono."},"comment":{"url":"https://api.github.com/repos/geel9/SteamAuth/issues/comments/164618925","html_url":"https://github.com/geel9/SteamAuth/issues/10#issuecomment-164618925","issue_url":"https://api.github.com/repos/geel9/SteamAuth/issues/10","id":164618925,"user":{"login":"waylaidwanderer","id":2882110,"avatar_url":"https://avatars.githubusercontent.com/u/2882110?v=3","gravatar_id":"","url":"https://api.github.com/users/waylaidwanderer","html_url":"https://github.com/waylaidwanderer","followers_url":"https://api.github.com/users/waylaidwanderer/followers","following_url":"https://api.github.com/users/waylaidwanderer/following{/other_user}","gists_url":"https://api.github.com/users/waylaidwanderer/gists{/gist_id}","starred_url":"https://api.github.com/users/waylaidwanderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waylaidwanderer/subscriptions","organizations_url":"https://api.github.com/users/waylaidwanderer/orgs","repos_url":"https://api.github.com/users/waylaidwanderer/repos","events_url":"https://api.github.com/users/waylaidwanderer/events{/privacy}","received_events_url":"https://api.github.com/users/waylaidwanderer/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T02:01:49Z","updated_at":"2015-12-15T02:01:49Z","body":"I authed my bots using my local Windows computer, so I didn't bother. I'm just posting this here for other people. I'm hoping @geel9 or someone fixes it so that nobody else runs into the same issue."}}