Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

"Airgapped" encryption #871

numpde started this conversation in General
Discussion options

This may not be the canonical way to solve the general problem; but I'm thinking of an idom component that is sent to the front-end together with a RSA public key for. For example, for entering credentials for some third-party API. The user JS part of the component/page does the encryption, and the encrypted message is sent to the server. This would allow to do development without SSL, at least.

My question is: is it safe to assume that, for example, the contents of a idom.html.textarea will not be sent to the server if no explicit logic (such as 'onChange' events) is implemented for it?

Thanks ~

You must be logged in to vote

Replies: 3 comments

Comment options

As long as your ASGI webserver is set up to handle encryption, all IDOM traffic will be encrypted as well.

You must be logged in to vote
0 replies
Comment options

To address your specific question, no. The client does not send the content of the <textarea> to the server unless there is an event handler attached to it. However, if any event handler (not just onChange) is attached and that event is triggered, the <textarea>'s content will be sent to the server.

You must be logged in to vote
0 replies
Comment options

Thank you for the clarifications!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /