File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
core-codemods/src/test/resources/sensitive-data-logging Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,8 @@ public class Test {
3232 log.info("Remote auth settings for " + fetchSettings(securityToken));
3333 }
3434
35+ public void multiline(final String privateKeyId) {
36+ var key = lookupPrivateKeyFromKeyChain(privateKeyId);
37+ decrypt(key);
38+ }
3539}
Original file line number Diff line number Diff line change @@ -35,4 +35,12 @@ public class Test {
3535 log.info("Remote auth settings for " + fetchSettings(securityToken));
3636 }
3737
38+ public void multiline(final String privateKeyId) {
39+ var key = lookupPrivateKeyFromKeyChain(privateKeyId);
40+ logger.info("Retrieved Private Key {}\nalgo: {}\nkey: {}",
41+ key.getId(),
42+ key.getAlgorithm(),
43+ key.getEncoded());
44+ decrypt(key);
45+ }
3846}
You can’t perform that action at this time.
0 commit comments