-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature request: Using Symmetric-key algorithm AES? to protect data transfer? #3
Comments
Hey @ryh, thanks for the suggestion. I'll think about it a bit more, but I'd rather not do a symmetric-key algorithm, since the key would have to be stored on the app binary. The QR code idea is an interesting idea. I could let the host tvOS app and host iOS app handle the generation of the QR code and the encryption part. |
It would be a good idea to have symmetric key as an option, leaving it up to the implementer to supply the key. There's a number of ways a key can be derived at runtime without building it into the binary. Asymmetric encryption is only used for key exchange anyway before it uses symmetric for the actual data transfer, so offering direct access to symmetric gives more flexibility for using alternate keying mechanisms. |
The Diffie-Hellman key exchange is probably an easier solution for the users, I have never heard of it being used in an iOS App, but I think it could be a good idea to look into it. |
You could potentially link in OpenSSL to Voucher, and use OpenSSL's Diffie-Hellman implementation http://www.openssl.org/docs/manmaster/crypto/dh.html |
Using Symmetric-key algorithm AES (or something like that) to protect data transfer if the TV & iPhone communicated via open wifi ?
the
key
can show (via text/QR?) on TV Screen (random generated, or encrypt the key again in code) or just embed thekey
in code...The text was updated successfully, but these errors were encountered: