detunized / password-manager-access

Password Manager Access for .NET in C#
MIT License
38 stars 8 forks source link

1Password: BadRequest on iOS/Mono #94

Closed detunized closed 1 year ago

detunized commented 1 year ago

Call stack:

PasswordManagerAccess.Common.InternalErrorException: Invalid or unexpected response from the server (HTTP status: BadRequest)
---> Newtonsoft.Json.JsonSerializationException: Required property 'kid' not found in JSON. Path '', line 1, position 2.
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EndProcessProperty(Object , JsonReader , JsonObjectContract , Int32 , JsonProperty , PropertyPresence , Boolean )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object , JsonReader , JsonObjectContract , JsonProperty , String )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader , Type , JsonContract , JsonProperty , JsonContainerContract , JsonProperty , Object )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader , Type , JsonContract , JsonProperty , JsonContainerContract , JsonProperty , Object )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader , Type , Boolean )
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader , Type )
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader , Type )
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String , Type , JsonSerializerSettings )
   at Newtonsoft.Json.JsonConvert.DeserializeObject[Encrypted](String , JsonSerializerSettings )
   at Newtonsoft.Json.JsonConvert.DeserializeObject[Encrypted](String )
   at PasswordManagerAccess.Common.RestClient.MakeRequest[String,Encrypted](String , HttpMethod , HttpContent , Dictionary`2 , Dictionary`2 , Int32 , Func`2 )
   --- End of inner exception stack trace ---
   at PasswordManagerAccess.OnePassword.Client.PostEncryptedJson[VerifyKey](String , Dictionary`2 , AesKey , RestClient )
   at PasswordManagerAccess.OnePassword.Client.VerifySessionKey(ClientInfo , AesKey , RestClient )
   at PasswordManagerAccess.OnePassword.Client.LoginAttempt(ClientInfo , IUi , ISecureStorage , RestClient )
   at PasswordManagerAccess.OnePassword.Client.LogIn(ClientInfo , IUi , ISecureStorage , RestClient )
   at PasswordManagerAccess.OnePassword.Client.LogIn(ClientInfo , IUi , ISecureStorage , IRestTransport )
   at PasswordManagerAccess.OnePassword.Client.LogIn(ClientInfo , IUi , ISecureStorage )