Skip to content

HDDS-11070. Separate KeyCodec from reading and storing keys to disk #6871

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

Merged
merged 8 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix typo in test name
  • Loading branch information
Galsza committed Jan 15, 2025
commit f264cf86dd52eb065dc575f43f6997bfe7c4ea29
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void testReadKeyFailToWrite() throws Exception {

@Test
@DisplayName("an attempt to overwrite an internal key throws FileAlreadyExists exception.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a typo? testExternalKeysAreNotOverWritable -> testInternalKeysAreNotOverWritable?

public void testExternalKeysAreNotOverWritable() throws Exception {
public void testInternalKeysAreNotOverWritable() throws Exception {
KeyStorage storage = new KeyStorage(config, COMPONENT);
storage.storePublicKey(keys.getPublic());
storage.storePrivateKey(keys.getPrivate());
Expand Down
Loading