python-u2flib-server icon indicating copy to clipboard operation
python-u2flib-server copied to clipboard

publicKey required in sign request

Open ziima opened this issue 7 years ago • 0 comments

In version 5.0, when performing complete_authentication, the publicKey is extracted only from request, which makes usage difficult. The request is send to the client (browser), but it doesn't need the publicKey and thus it shouldn't be send to it.

I suggest to return devices argument to the complete_authentication function to provide a mapping between the handle and public key.

ziima avatar Apr 23 '18 11:04 ziima