From 1c21e62606b13c8c71de89b1c74f1c9ce446cdb1 Mon Sep 17 00:00:00 2001 From: KF Date: Wed, 28 Aug 2019 02:40:11 -0500 Subject: [PATCH] fixed invalid import for encrypt plugin decryption --- onionr/static-data/default-plugins/encrypt/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/static-data/default-plugins/encrypt/main.py b/onionr/static-data/default-plugins/encrypt/main.py index cd914c31..5cd52682 100755 --- a/onionr/static-data/default-plugins/encrypt/main.py +++ b/onionr/static-data/default-plugins/encrypt/main.py @@ -22,7 +22,7 @@ import logger, config, threading, time, datetime, sys, json from onionrblockapi import Block from onionrutils import stringvalidators, bytesconverter -from onionrcrypto import encryption, keypair, signing +from onionrcrypto import encryption, keypair, signing, getourkeypair import onionrexceptions, onionrusers import locale locale.setlocale(locale.LC_ALL, '') @@ -80,7 +80,7 @@ class PlainEncryption: plaintext = "" data = "" logger.info("Please enter your message (ctrl-d or -q to stop):", terminal=True) - keypair = getourkeypair.get_our_keypair() + keypair = getourkeypair.get_keypair() try: for line in sys.stdin: if line == '-q\n':