Page MenuHomeVyOS Platform

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

Event Timeline

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.Oct 9 2018, 3:44 PM

@dmbaturin You want to implement it or shall I?

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

syncer edited projects, added VyOS 1.2 Crux; removed VyOS 1.2 Crux (VyOS 1.2.0-rc3).
syncer moved this task from Need Triage to Finished on the VyOS 1.2 Crux board.