#50794 [RFE] Use keyring to manage starting password/pin
Closed: wontfix by spichugi. Opened by tbordaz.

Issue Description

When using TLS/encryption access to NSS database is protected by a password.
It is possible to store the password in a file (pin.txt) on the local file system.
user having access to that file can retrieve the clear text password and read sensitive data stored in the NSS database

Package Version and Platform

all version

Steps to reproduce

  1. dscreate with self_sign_cert
  2. check that pin.txt exists and allows to start ds
    3.

Actual results

with pin.txt, an instance with security enabled can start without prompt and pin.txt can be used to read NSS db

Expected results

Allow (re)start without pin file and without prompt


Metadata Update from @tbordaz:
- Issue assigned to tbordaz

Metadata Update from @tbordaz:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1638875

PR https://pagure.io/389-ds-base/pull-request/50795

Just for the recording this is a set of tests keyring_tests.sh

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.4.3

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/3848

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

Metadata