~paelzer/uvtool:fips-forbids-dsa

Last commit made on 2021-07-19
Get this branch:
git clone -b fips-forbids-dsa https://git.launchpad.net/~paelzer/uvtool
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
fips-forbids-dsa
Repository:
lp:~paelzer/uvtool

Recent commits

0e92d8b... by Christian Ehrhardt 

tolerate if some key types can't be created (LP: #1936473)

For example in FIPS mode we otherwise abort with
DSA keys are not allowed in FIPS mode^M
Traceback (most recent call last):
  File "/usr/bin/uvt-kvm", line 35, in <module>
    uvtool.libvirt.kvm.main_cli_wrapper(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 861, in main_cli_wrapper
    main(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 856, in main
    args.func(parser, args)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 643, in main_create
    ssh_host_keys, ssh_known_hosts = uvtool.ssh.generate_ssh_host_keys()
  File "/usr/lib/python2.7/dist-packages/uvtool/ssh.py", line 50, in generate_ssh_host_keys
    _keygen(key_type, private_path)
  File "/usr/lib/python2.7/dist-packages/uvtool/ssh.py", line 34, in _keygen
    '-C', 'root@localhost'
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ssh-keygen', '-q', '-f', '/tmp/uvt-kvm.sshtmpVhmPlF/dsa', '-N', '', '-t', 'dsa', '-C', 'root@localhost']' returned non-zero exit status 255

Signed-off-by: Christian Ehrhardt <email address hidden>

6bcf466... by Christian Ehrhardt 

man: TIL more about apostrophes

fc973ce... by Christian Ehrhardt 

fix CPU capitalization and posessive apostrophe

Signed-off-by: Christian Ehrhardt <email address hidden>

a3a27a6... by Christian Ehrhardt 

change exposed option from --model to --cpu-model

Signed-off-by: Christian Ehrhardt <email address hidden>

63fd80a... by Christian Ehrhardt 

kvm.py: fix indent

Signed-off-by: Christian Ehrhardt <email address hidden>

ac99a96... by Christian Ehrhardt 

Bump default and allow overiding --model (LP: #1869185)

This will set the default from qemu54 to the much more powerful
host-model type by default. Furthermore provide an option to set any cpu
model.

The old host-passthrough will become deprecated and internally only
is mapped onto --model=host-passthrough anyway.

Signed-off-by: Christian Ehrhardt <email address hidden>

a2985e2... by Christian Ehrhardt 

py3fixup: avoid new UnboundLocalError

Signed-off-by: Christian Ehrhardt <email address hidden>

7b7bea5... by Christian Ehrhardt 

py3fixup: check_output is bytes now, adapt get_latest_q35_type

Signed-off-by: Christian Ehrhardt <email address hidden>

89974af... by Christian Ehrhardt 

uvt-kvm: add support to run armhf as emulation

A feature very handy in debugging is to run cross arch, especially for
things not easily available in clouds. Therefore add armhf as emulation
target.

Signed-off-by: Christian Ehrhardt <email address hidden>

8895f3b... by Robie Basak

Drop unnecessary import