From 0d2d5b65fb8df68fe18c0e1ee2f63fe37304cc48 Mon Sep 17 00:00:00 2001 From: ilya Date: Sun, 3 Oct 2010 18:08:18 -0700 Subject: [PATCH] removed the logging statements, now servers communicate sucessfully and only re-encrypt the header for people --- lib/diaspora/user/receiving.rb | 1 - lib/encryptor.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/diaspora/user/receiving.rb b/lib/diaspora/user/receiving.rb index cf4015eeb..a16727c26 100644 --- a/lib/diaspora/user/receiving.rb +++ b/lib/diaspora/user/receiving.rb @@ -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}") diff --git a/lib/encryptor.rb b/lib/encryptor.rb index 232b10e0f..e9c4936e1 100644 --- a/lib/encryptor.rb +++ b/lib/encryptor.rb @@ -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)