JavaScript: Decrypt content of GnuPG encrypted files using openpgp.js
I'm trying to write a sample decryptor for GnuPG encrypted files in JavaScript using openpgp.js . So I tried it naively without even asking if it is even possible. I made the following page. popup.html <!doctype html> <!-- --> <html> <head> <title>Popup</title> <script src="openpgp.js"></script> <script src="popup.js"></script> </head> <body> <p>Upload message: </p><input id="message" type="file"/><br> <p>Upload secret key: </p><input id="secret" type="file"/><br> <p>Secret key password: </p><input id="password" type="password"/><br><br> <button id="decrypt">Decrypt</button> <p id="output"></p