mirror of
https://github.com/romanz/amodem.git
synced 2026-03-20 01:06:04 +08:00
gpg: handle BYE command
This commit is contained in:
@@ -132,6 +132,8 @@ def handle_connection(conn):
|
||||
elif command == 'PKDECRYPT':
|
||||
sec = pkdecrypt(keygrip, conn)
|
||||
keyring.sendline(conn, b'D ' + sec)
|
||||
elif command == 'BYE':
|
||||
return
|
||||
else:
|
||||
log.error('unknown request: %r', line)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user