Hi all, I created an example of GnuPG over web. No browser plugin needed, but WebSocket support required.
user ---------- public key ----------------> | webserver v user <-----HTTP data with GNUPG tag(s)------ browser -------- encrypted data --------------> | local websocket v (gpg_websocket.py) browser <------- plain text data -------------- User will submit public key to a website using HTTP POST or other medium. Webserver will encrypt some information (Banking, other data) using public key and put inside html tag(s). When the page is loaded in browser, javascript will send encrypted HTML tags' contents to a local WebSocket to get plain text data. Local WebSocket is a server with current user's private key to decrypt using GPGME. source: https://dynamicmalloc.com/cgit/gnupg_over_web.git Without local WebSocket server: =============================== <div class="GNUPG_OVER_WEB"> xxxx </div> WebSocket server with private key: ================================== <div class="GNUPG_OVER_WEB"> plain text content. </div> Please let me know if you have any comments or suggestions. Thank you. note: resending without pgp example tag. regards Pasha _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users