removed the logging statements, now servers communicate sucessfully and only re-encrypt the header for people
This commit is contained in:
parent
ce4f8cab8b
commit
0d2d5b65fb
2 changed files with 0 additions and 2 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue