Skip to content

Unable to use google artifact repository #5849

@d-croe

Description

@d-croe

Current Behavior

I'm trying to use google artifact repository. When using json file as a string in password it responds with 500 internal error.

Steps to Reproduce

  1. start a fresh docker-compose installation.
  2. create a repository, choose a password longer than 220 characters.

my analysis shows that the password field ist VARCHAR256 which isn't big enought to store the json.
i've tryed to modify that, but the java code behaves the same after update and restart.
my guess it that the entity needs an annotations or an jdo xml to define a bigger size

Expected Behavior

i can use google artifact repository as repository with a static json to authenticate against that repository.

Dependency-Track Version

4.13.6

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions