Commit 5665f77
committed
Fix password prompt for pki CLI
The pki CLI has been modified to disable ConsolePasswordCallback if
the password config is specified (e.g. during installation). In
other cases it will allow ConsolePasswordCallback to be used by NSS
to request additional passwords from the user.
The pki nss-key-del has been added to remove a key.
The CryptoUtil.deletePrivateKey() has been updated to remove the
public key associated to the private key being removed if exists.
The tests for pki CLI with RSA, ECC, and SoftHSM has been updated
to create CA signing cert, SSL server cert, and audit signing cert
to validate the password prompts.1 parent 31f20bd commit 5665f77
7 files changed
Lines changed: 1308 additions & 550 deletions
File tree
- .github/workflows
- base
- common/src/main/java/com/netscape/cmsutil/crypto
- tools/src/main/java/com/netscape/cmstools
- cli
- nss
0 commit comments