Skip to content

Commit

Permalink
bandaid the simplecrypt system used to fix "unknown cipher" error
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed May 31, 2019
1 parent bead65e commit b432700
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/gui/toolTable.js
Expand Up @@ -7,7 +7,7 @@ var MenuItem = require('react-bootstrap').MenuItem;

var simplecrypt = require('simplecrypt');

var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control'});
var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control', method:"aes-192-ecb"});

var conf = require('../../configuration');
var log = require('../../logger');
Expand Down
3 changes: 2 additions & 1 deletion app/server/imapSearcher.js
Expand Up @@ -17,7 +17,8 @@ var PatternsService = require('./patternsService');
var retrySecs = 30;
var searchDelaySecs = 2;

var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control'});
// FIXME: use non-deprected (and better) crypto system
var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control', method:"aes-192-ecb"});


function ImapSearcher(config) {
Expand Down
3 changes: 2 additions & 1 deletion app/server/skypeService.js
Expand Up @@ -10,7 +10,8 @@ var Eventer = require('../eventer');

var PatternsService = require('./patternsService');

var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control'});
// FIXME: use non-deprected (and better) crypto system
var sc = simplecrypt({salt:'boopdeeboop',password:'blink1control',method:"aes-192-ecb"});


var SkypeService = {
Expand Down

0 comments on commit b432700

Please sign in to comment.