Project

General

Profile

Actions

Bug #38349

open

container_gateway on capsules returns success for login attempts with no username/password informed

Added by Quinn James 5 days ago. Updated 5 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Roles and Permissions
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://issues.redhat.com/browse/SAT-25333

Description of problem:

Trying to login into a capsule registry (handled by smart-proxy containter_gateway), a user gets a "Login Succeeded!" when no username/password are informed.

Providing any bad username/password user gets the expected authentication error.

Success message is is misleading, since no actual authentication happened and no protected content can be pulled.

Version-Release number of selected component (if applicable):

Observed on 6.14 and 6.15

How reproducible:

Always

Steps to Reproduce:

1. Try running "podman login mycapsule.example.com" and don't inform username or password:

~~~

podman login mycapsule.example.com
Username:
Password:
Login Succeeded!
~~~
Actual results:
user gets a login succeeded message

Expected results:
authentication should fail if no username/password was informed

Actions #1

Updated by The Foreman Bot 5 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/smart_proxy_container_gateway/pull/50 added
Actions

Also available in: Atom PDF