removed the logging statements, now servers communicate sucessfully and only re-encrypt the header for people

This commit is contained in:
ilya 2010-10-03 18:08:18 -07:00
parent ce4f8cab8b
commit 0d2d5b65fb
2 changed files with 0 additions and 2 deletions

View file

@ -2,7 +2,6 @@ module Diaspora
module UserModules
module Receiving
def receive_salmon salmon_xml
Rails.logger.info("#{self.real_name} got a salmon #{salmon_xml}")
salmon = Salmon::SalmonSlap.parse salmon_xml, self
if salmon.verified_for_key?(salmon.author.public_key)
Rails.logger.info("data in salmon: #{salmon.parsed_data}")

View file

@ -37,7 +37,6 @@ module Encryptor
module Private
def decrypt cipher_json
Rails.logger.info("#{self.real_name} is JSON parsing the #{ Base64.decode64 cipher_json} ")
json = JSON.parse(Base64.decode64 cipher_json)
aes_key = get_aes_key json['aes_key']
aes_decrypt(json['ciphertext'], aes_key)