updates
This commit is contained in:
@@ -110,7 +110,6 @@ async def main():
|
|||||||
role = 'receive'
|
role = 'receive'
|
||||||
password = args.password
|
password = args.password
|
||||||
if args.send and args.password is None:
|
if args.send and args.password is None:
|
||||||
#password = xp.generate_xkcdpassword(wordlist, numwords=4, delimiter = "-", case='capitalize')
|
|
||||||
password = diceware.generate_passphrase(4)
|
password = diceware.generate_passphrase(4)
|
||||||
passwd_part = f"--password {password}"
|
passwd_part = f"--password {password}"
|
||||||
if args.receive and args.password is None:
|
if args.receive and args.password is None:
|
||||||
@@ -187,7 +186,7 @@ async def main():
|
|||||||
await send_encrypted_msg(ws, k, (msgtype, peer_group_id, role, "", "", "", "", "")) # request the next chunk from sender
|
await send_encrypted_msg(ws, k, (msgtype, peer_group_id, role, "", "", "", "", "")) # request the next chunk from sender
|
||||||
i += 1
|
i += 1
|
||||||
bar.next()
|
bar.next()
|
||||||
if i > msg["number_of_chunks"]:
|
if i > msg["number_of_chunks"] + 1:
|
||||||
bar.index = 100
|
bar.index = 100
|
||||||
bar.suffix = '%(percent).1f%% complete'
|
bar.suffix = '%(percent).1f%% complete'
|
||||||
bar.update()
|
bar.update()
|
||||||
|
|||||||
Reference in New Issue
Block a user