Page MenuHomeVyOS Platform

TPM config encryption is broken
Open, NormalPublicBUG

Description

I'm running bare-metal 1.5-rolling-202406270020 (Build commit ID: b90a73b304a05f). When executing command encryption enable, the command fails with:

Traceback (most recent call last):
  File "/usr/libexec/vyos/vyos-config-encrypt.py", line 29, in <module>
    from vyos.util import ask_input
ModuleNotFoundError: No module named 'vyos.util'

This requires a really simple fix which I'm happy to contribute via github (but need the Task-ID for pull request).

Details

Difficulty level
Easy (less than an hour)
Version
1.5-rolling-202406270020
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Bonus updated the task description. (Show Details)
syncer reassigned this task from sarthurdev to Bonus.
syncer triaged this task as Normal priority.
syncer added a subscriber: sarthurdev.
Bonus signed these changes with MFA.Sat, Jun 29, 7:43 PM

I've submitted the PR at github: https://github.com/vyos/vyos-1x/pull/3743
There's no smoketest for this functionality, but I've build a qemu-live image and the commands seems to at least start running (instead of instantly crashing).