Skip to content

Interactive password query makes no newline #717

Description

@wagner-intevation

When running csaf_uploader with --password_interactive, the program prompts for the password, but there's no newline afterward. Then the subsequent outputs, e.g., error or success messages, end up in the same line as the password query.

This is confusing.

First, I thought the error message had to do with the password itself, but it's actually an error during the processing of the server's response.

$ csaf_uploader --url https://example.com/cgi-bin/csaf_provider.go --password_interactive --action=create --client_cert=example.pem --client_key=example-key.pem 
2026/05/10 18:13:29 WARN No config file found. Maybe you want to specify one or store it in a respective default location locations="[~/.config/csaf/uploader.toml ~/.csaf_uploader.toml csaf_uploader.toml]"
Enter auth password: 2026/05/10 15:43:08 error: JSON decoding error: invalid character '<' looking for beginning of value                                                                                          

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions