Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move public.pfx to correct subdirectory #16444

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ public EnhancedKeyStoreLoader scan() throws KeyLoadingException, KeyStoreExcepti
}

/**
* Iterates over the local nodes and creates the agreement key and certificate for each. This
* method should be called after {@link #scan()} and before {@link #verify()}.
* Iterates over the local nodes and creates the agreement key and certificate for each. This method should be
* called after {@link #scan()} and before {@link #verify()}.
*
* @return this {@link EnhancedKeyStoreLoader} instance.
* @throws NoSuchAlgorithmException if the algorithm required to generate the key pair is not available.
Expand Down Expand Up @@ -1476,7 +1476,7 @@ private void cleanupByMovingPfxFilesToSubDirectory() throws KeyStoreException, K
if (sPublicPfx.exists()
&& sPublicPfx.isFile()
&& !sPublicPfx.renameTo(
pfxArchiveDirectory.resolve(sPublicPfx.getName()).toFile())) {
pfxDateDirectory.resolve(sPublicPfx.getName()).toFile())) {
edward-swirldslabs marked this conversation as resolved.
Show resolved Hide resolved
cleanupErrorCount.incrementAndGet();
}
if (cleanupErrorCount.get() > 0) {
Expand Down
Loading