mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2025-08-26 22:47:00 +08:00
Compare commits
3 Commits
8d25ff0cb5
...
17fa83d8bc
Author | SHA1 | Date | |
---|---|---|---|
|
17fa83d8bc | ||
|
d30dbced39 | ||
|
5b61d0a40e |
@ -80,13 +80,13 @@ base64-content...
|
|||||||
## DB Password - `/etc/dls/config/dls_db_password.bin`
|
## DB Password - `/etc/dls/config/dls_db_password.bin`
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# docker cp -a <container-id>:/etc/dls/config/dls_db_password.bin /tmp/dls_db_password.bin
|
||||||
base64-content...
|
base64-content...
|
||||||
```
|
```
|
||||||
|
|
||||||
**Decrypt database password**
|
**Decrypt database password**
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /var/lib/docker/volumes/configurations/_data
|
|
||||||
cat dls_db_password.bin | base64 -d > dls_db_password.bin.raw
|
cat dls_db_password.bin | base64 -d > dls_db_password.bin.raw
|
||||||
openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
|
openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
|
||||||
```
|
```
|
||||||
@ -96,6 +96,12 @@ openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
|
|||||||
- It's enough to manipulate database licenses. There must not be changed any line of code to bypass licensing
|
- It's enough to manipulate database licenses. There must not be changed any line of code to bypass licensing
|
||||||
validations.
|
validations.
|
||||||
|
|
||||||
|
Valid users are `dls_writer` and `postgres`.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker exec -it <dls:pgsql> psql -h localhost -U postgres
|
||||||
|
```
|
||||||
|
|
||||||
# Logging / Stack Trace
|
# Logging / Stack Trace
|
||||||
|
|
||||||
- https://docs.nvidia.com/license-system/latest/nvidia-license-system-user-guide/index.html#troubleshooting-dls-instance
|
- https://docs.nvidia.com/license-system/latest/nvidia-license-system-user-guide/index.html#troubleshooting-dls-instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user