Page MenuHomeVyOS Platform

Migrate loadkey command to op-mode
On hold, NormalPublic


loadkey is a crufty old command that relies on bash functions and a messed up Vyatta script with barely functional curl subroutines. We should rewrite it in the modern Python/XML format.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change

Event Timeline

erkin triaged this task as Low priority.Apr 29 2021, 2:17 PM
erkin created this task.
erkin changed the task status from Open to In progress.May 30 2021, 10:21 AM
erkin raised the priority of this task from Low to Normal.
erkin changed the task status from In progress to On hold.Jun 23 2021, 8:49 AM

Done with generate public-key-command. loadkey is deprecated and will be removed in a future version.

From conf mode I get error VyOS 1.4-rolling-202108130117

vyos@vyos-oobm# loadkey vyos scp://vyos@
Global symbol "$generate" requires explicit package name (did you forget to declare "my $generate"?) at /opt/vyatta/sbin/ line 162.
Execution of /opt/vyatta/sbin/ aborted due to compilation errors.