show sent message

This commit is contained in:
AlexanderWillner 2013-01-10 18:31:13 +01:00
parent ca20079efa
commit 9ad5116d3c

View File

@ -2,4 +2,5 @@ function encrypt() {
openpgp.init();
var pub_key = openpgp.read_publicKey($('#pubkey').text());
$('#message').val(openpgp.write_encrypted_message(pub_key,$('#message').val()));
window.alert("This message is going to be sent:\n" + $('#message').val());
}