updated build system
This commit is contained in:
		@@ -26,11 +26,11 @@ module.exports = function(chatserver, keyserver) {
 | 
			
		||||
            privateKeys: privkey
 | 
			
		||||
          }).then(function(ciphertext) {
 | 
			
		||||
            openpgp.decrypt({
 | 
			
		||||
              message: ciphertext,
 | 
			
		||||
              message: openpgp.message.readArmored(ciphertext.data),
 | 
			
		||||
              publicKeys: openpgp.key.readArmored(_user.key.pub).keys[0],
 | 
			
		||||
              privateKey: privkey
 | 
			
		||||
            }).then(function(plaintext) {
 | 
			
		||||
              if (data==plaintext) {
 | 
			
		||||
              if (data==plaintext.data) {
 | 
			
		||||
                success(_user)
 | 
			
		||||
              } else {
 | 
			
		||||
                fail('local key does not match key on server')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user