Opened 2 years ago
Last modified 16 months ago
#2615 assigned task
replace javascript crypto library with jsSHA
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 4.2 |
Component: | network | Version: | 3.0.x |
Keywords: | Cc: |
Attachments (1)
Change History (6)
comment:1 Changed 2 years ago by
Status: | new → assigned |
---|
comment:2 Changed 23 months ago by
jsSHA
is great and could be used for hmac
authentication, but it doesn't handle AES
...
So maybe we can just use the crypto API and drop IE11 support.
Examples here: webcrypto-examples.
comment:3 Changed 23 months ago by
Big problem with browser crypto is that this relies on asynchronous promises, which would require a huge rewrite of the protocol layer which is sequential by nature.
Maybe asmcrypto.js instead? It handles both AES
and HMAC
with a synchronous API. (and this fork has documentation)
comment:4 Changed 20 months ago by
Milestone: | 4.1 → 4.2 |
---|
comment:5 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2615
Note: See
TracTickets for help on using
tickets.
This may help with #2799.