Skip to content

Commit

Permalink
Adding comment to new properties on migration
Browse files Browse the repository at this point in the history
  • Loading branch information
narupley committed Jul 10, 2023
1 parent b0e6a66 commit 377675d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public void updateConfiguration(PropertiesConfiguration configuration) {
} else {
// Use the new algorithm, but set the old default as the fallback
configuration.setProperty("digest.fallback.algorithm", "SHA256");
configuration.getLayout().setBlancLinesBefore("digest.fallback.algorithm", 1);
configuration.getLayout().setComment("digest.fallback.algorithm", "Allows old digest values to be verified");
configuration.setProperty("digest.fallback.iterations", "1000");
configuration.setProperty("digest.fallback.usepbe", "0");
}
Expand Down

0 comments on commit 377675d

Please sign in to comment.