DependencyTrack / DependencyTrack/dependency-track

Unable to use google artifact repository

Open
#5,849 3 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### 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

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.