Page MenuHomeVyOS Platform

TPM config encryption is broken
Closed, ResolvedPublicBUG

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

Version
1.5-rolling-202406270020
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.Jun 29 2024, 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).

syncer edited projects, added VyOS Rolling; removed VyOS 1.5 Circinus.
syncer subscribed.

@sarthurdev what we want to do with this?

sarthurdev moved this task from Need Triage to Completed on the VyOS Rolling board.

Can be closed as resolved by above PR.

@syncer The fix is present in rolling and circinus branches