Project

General

Profile

Actions

Feature #10346

closed

hammer doesn't prompt for password when using -u

Added by Justin Garrison almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

When specifying a username for hammer (overriding yml config file) hammer does not prompt for a password and instead errors with "invalid username or password" This causes bash history to contain sensitive information that should be secured.

When -u is specified or -p with no argument hammer should prompt for a password.


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Tracker #2823: Tracker for usability issuesClosed

Actions
Actions #1

Updated by Tomáš Strachota over 8 years ago

Actions #2

Updated by Tomáš Strachota over 8 years ago

  • Target version set to hammer-cli 0.6.0
Actions #3

Updated by Tomáš Strachota about 8 years ago

  • Target version changed from hammer-cli 0.6.0 to hammer-cli 0.7.0
Actions #4

Updated by Tomáš Strachota over 6 years ago

  • Target version deleted (hammer-cli 0.7.0)
Actions #5

Updated by Tomáš Strachota over 6 years ago

  • Category set to Hammer core
  • Status changed from New to Closed

This issue has been fixed as part of https://github.com/theforeman/hammer-cli-foreman/commit/0de9a76f32087f03681d6a50ae8b42c8f3a729a2

Hammer now checks whether the username provided via -u is the same as the one stored in the config file and prompts for a password when they differ.

Actions

Also available in: Atom PDF