fixed invalid import for encrypt plugin decryption
This commit is contained in:
parent
664b955255
commit
1c21e62606
@ -22,7 +22,7 @@
|
|||||||
import logger, config, threading, time, datetime, sys, json
|
import logger, config, threading, time, datetime, sys, json
|
||||||
from onionrblockapi import Block
|
from onionrblockapi import Block
|
||||||
from onionrutils import stringvalidators, bytesconverter
|
from onionrutils import stringvalidators, bytesconverter
|
||||||
from onionrcrypto import encryption, keypair, signing
|
from onionrcrypto import encryption, keypair, signing, getourkeypair
|
||||||
import onionrexceptions, onionrusers
|
import onionrexceptions, onionrusers
|
||||||
import locale
|
import locale
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
@ -80,7 +80,7 @@ class PlainEncryption:
|
|||||||
plaintext = ""
|
plaintext = ""
|
||||||
data = ""
|
data = ""
|
||||||
logger.info("Please enter your message (ctrl-d or -q to stop):", terminal=True)
|
logger.info("Please enter your message (ctrl-d or -q to stop):", terminal=True)
|
||||||
keypair = getourkeypair.get_our_keypair()
|
keypair = getourkeypair.get_keypair()
|
||||||
try:
|
try:
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
if line == '-q\n':
|
if line == '-q\n':
|
||||||
|
Loading…
Reference in New Issue
Block a user