Page MenuHomePhabricator

Unhandled exception in "run generate wireguard keypair" on keyboard interrupt
Closed, ResolvedPublic

Description

Just a cosmetic issue that is easy to fix, but it doesn't look pretty. Normally commands are expected to exit silently on keyboard interrupts.

You already have a wireguard key-pair already, do you want to re-generate? [y/n] ^CTraceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/wireguard.py", line 91, in <module>
    genkey()
  File "/usr/libexec/vyos/op_mode/wireguard.py", line 52, in genkey
    choice = input("You already have a wireguard key-pair already, do you want to re-generate? [y/n] ")
KeyboardInterrupt

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc1
Why the issue appeared?
Will be filled on close
dmbaturin created this task.Tue, Oct 9, 3:24 PM
dmbaturin created this object with visibility "Public (No Login Required)".
dmbaturin renamed this task from Unhandled exception in "run generate wireguard keypir" on keyboard interrupt to Unhandled exception in "run generate wireguard keypair" on keyboard interrupt.Tue, Oct 9, 3:44 PM
hagbard added a subscriber: hagbard.Tue, Oct 9, 4:49 PM

@dmbaturin You want to implement it or shall I?

syncer triaged this task as Low priority.Wed, Oct 10, 2:17 PM

@syncer This issue is already resolved in the rc2, could you move it back to there, out of the rc3 target?

syncer closed this task as Resolved.
syncer moved this task from Need Triage to Finished on the VyOS 1.2.x board.