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.
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- -
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Behavior change
- Issue type
- Feature/functionality removal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In progress | FEATURE REQUEST | None | T3355 Remove all remaining legacy Vyatta code | ||
Resolved | FEATURE REQUEST | erkin | T3356 Script for remote file transfers | ||
Resolved | erkin | T3506 Migrate loadkey command to op-mode | |||
Resolved | BUG | chaya2z | T3865 loadkey command help text missing escape sequence |
Event Timeline
Comment Actions
Done with generate public-key-command. loadkey is deprecated and will be removed in a future version.
Comment Actions
From conf mode I get error VyOS 1.4-rolling-202108130117
vyos@vyos-oobm# loadkey vyos scp://[email protected]:/etc/ssh/ssh_host_rsa_key.pub Global symbol "$generate" requires explicit package name (did you forget to declare "my $generate"?) at /opt/vyatta/sbin/vyatta-load-user-key.pl line 162. Execution of /opt/vyatta/sbin/vyatta-load-user-key.pl aborted due to compilation errors. [edit] vyos@vyos-oobm#
Comment Actions
I'm removing loadkey from 1.4. It will be removed from 1.3.1, as well. Eventually, the warning will be dropped from 1.4 but it will remain in 1.3.
Comment Actions
Actually, let's leave it in 1.3 but backport the warning and generate public-key-command.