Skip to content

Conversation

@Manuthor
Copy link
Contributor

No description provided.

@Manuthor Manuthor requested a review from Copilot September 19, 2025 07:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new derive-key subcommand to the Cosmian KMS CLI, enabling users to derive new cryptographic keys from existing keys using PBKDF2 or HKDF derivation methods. The implementation supports configurable parameters like salt, iteration count, digest algorithms, and key lengths.

Key changes include:

  • Addition of derive-key functionality with support for PBKDF2 and HKDF methods
  • Comprehensive test suite covering various derivation scenarios
  • Updated documentation to reflect the new command structure

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
kms Updated KMS submodule reference to include derive-key functionality
documentation/docs/cli/main_commands.md Added documentation for new derive-key subcommand and renumbered existing sections
crate/cli/src/tests/kms/mod.rs Added derive_key test module reference
crate/cli/src/tests/kms/derive_key/mod.rs Created module structure for derive-key tests
crate/cli/src/tests/kms/derive_key/derive_key_tests.rs Implemented comprehensive test suite for key derivation functionality
.pre-commit-config.yaml Updated cargo-deny version from 0.18.4 to 0.18.2

@Manuthor Manuthor merged commit 825fedc into develop Sep 23, 2025
8 of 15 checks passed
@Manuthor Manuthor deleted the feat/derive_key branch September 23, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants