DependencyTrack / DependencyTrack/dependency-track

Reset admin password documentation

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

Description

### Current Behavior

I was not able to find the documentation to reset the admin password.

### Proposed Behavior

Document how to generate a ManagedPassword.

IF you are interested I could integrate the project documentation e.g., inserting the following example python script that does the job

```python
from hashlib import sha512
import bcrypt

password = input("password: ")
prehash = sha512(password.encode()).hexdigest().encode()
salt = bcrypt.gensalt(rounds=14, prefix=b'2a')
phash = brcrypt.hashpw(prehash, salt)
print(phash)
```

### 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 enhancement was already requested

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.