-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems about iOS Conformance Tool, cost a lots of time each test and always failed #745
Comments
No, 30 minutes to reach the 5th test isn't normal. |
I've looked into it and think this is likely the issue with the formatting of callback URL. |
It's a bit strange, before I fired this issue, I inquired about another issue with the FIDO Alliance via email. The response I received was, according to the documents, my URL was incorrect, and I needed to change '&' to '?'. If I did that, I would encounter another issue Here is the question I ask before: I got some information from the testing tool, for example: And I replied: I passed 122 test cases because the cases were expecting errorCode 6, but I just sent a ramdon string (ex. an JWE encryped "aaaa" with the key I got from the tool). ================================== Do note that the delimiter in the response between [UAFxResponseType] and 'state=' should be '?' instead of '&' (see Example 11) |
In this case I'd suggest following what's outlined by the comment, since it was left by the original developer of the tooling. The email response references an example from specification, so it's understandable why it was mentioned. Unfortunately, in practice this particular part of specification differs from what's actually expected from the implementation. |
Hello, is there a solution to this problem? I had the same problem |
No, still looking for solution, I already change |
By submitting this issue you are acknowledging that any information regarding this issue will be publicly available.
If you have privacy concerns, please email [email protected]
FIRST PRE CHECK
What protocol are you implementing?
NOTE: UAF 1.0 certification have been officially sunset. U2F 1.2 only supported version of U2F.
What is your implementation class?
If you are platform authenticator vendor, please email [email protected]
What is the version of the tool are you using?
v1.6.2
What is the OS and the version are you running?
iOS 14.8
For desktop tools
For UAF mobile tools
Issue description
When I passed my payload to the conformance tool, each test cost lots of time to finish, it takes about 30 minutes to reach Test 5/167 and every cases are failed, is this normal?
Here is one of my payload sample:
Received from test tool:
FidoUAFClient1://x-callback-url/UAF_OPERATION?x-success=FIDOConformaceToolsIonic://x-callback-url/UAF_OPERATION_RESULT&key=ZIBTJRDRW9LRWrmLuHyuQcP-4P-6mxXPLeOIPidmWIU&json=ewogICJtZXNzYWdlIiA6ICJ7XG4gIFwidWFmUHJvdG9jb2xNZXNzYWdlXCIgOiBcIlt7XFxcImhlYWRlclxcXCI6e1xcXCJ1cHZcXFwiOntcXFwibWFqb3JcXFwiOjEsXFxcIm1pbm9yXFxcIjoxfSxcXFwib3BcXFwiOlxcXCJSZWdcXFwiLFxcXCJhcHBJRFxcXCI6XFxcIlxcXCJ9LFxcXCJjaGFsbGVuZ2VcXFwiOlxcXCJIOWlXOXlBOWFBWEZfbGVsUW9pX0RoVWs1MTRBZDhUcXYwekNuQ3FLRHBvXFxcIixcXFwidXNlcm5hbWVcXFwiOlxcXCJoZWxsb0B0ZXN0LmNvbVxcXCIsXFxcInBvbGljeVxcXCI6e1xcXCJhY2NlcHRlZFxcXCI6W1t7XFxcImFhaWRcXFwiOltudWxsXX1dXX19XVwiXG59IiwKICAiY2hhbm5lbEJpbmRpbmdzIiA6ICJ7XG4gIFwic2VydmVyRW5kUG9pbnRcIiA6IG51bGwsXG4gIFwiY2lkX3B1YmtleVwiIDogbnVsbCxcbiAgXCJ0bHNTZXJ2ZXJDZXJ0aWZpY2F0ZVwiIDogbnVsbCxcbiAgXCJ0bHNVbmlxdWVcIiA6IG51bGxcbn0iCn0&state=3FD8ECAB4F03438889E91DCAF2619A5C
UAFMessage:
{\"additionalData\":\"\",\"uafProtocolMessage\":\"{\\\"exts\\\":[],\\\"statusCode\\\":0,\\\"responseData\\\":{\\\"assertionScheme\\\":\\\"UAFV1TLV\\\",\\\"assertion\\\":\\\"AT5rAgM-sQALLgkARkZGRiNGQzAxDi4HAAABAQEAAAEKLiAAHrsZ6slQrlFL0S6oLThGEM4_Q51yaxYZymcfr98F07UJLiAArjVz4OvjfjN3AS0w2PkHqAaM3KpIxif-1t2pwWssNsgNLggAAAAAAAEAAAAMLkEABOJ9odoc3hrDmkUMP3xiKOTa5fil3BLy8pgt5uJPel5YZY1qyI-41HNHbx0a3Vt1oIhjWjYTe8IFiEuRAi2NtocHPrIBBi5AAOZMU7AgPvkR5vkUwHk8rpjCchNCcAloEO7EtKX2renTj73Erb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