GNUPG over web Copyright (C) 2023 Salahuddin It allows user to use gnupg over plain web. =========================================== 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 -------------- Example: 1. users browser receive the following data. " function myFunction() { const socket = new WebSocket("ws://localhost:8765"); // send data to local websocket to decrypt // and place plain text locally } ...
-----BEGIN PGP MESSAGE----- hQGMAyJ3PpkRYGT1AQv7BTx9T8PpK8kFB5UYfcuhkuvWN1AixXE+12UniO7aRAXz ... -----END PGP MESSAGE-----
" 2. web browser will send encrypted data to local websocket server "gpg_websocket.py". Local websocket server will decrypt send back plain text data. 3. browser view.
plain text content.