Skip to content

[Documention] RSA_AES_KEY_WRAP_SHA_256 wrapping/unwraping (2 steps) #688

@HatemMn

Description

@HatemMn

This isn't a bug - rather a request reminder for documentation

While the KMS is able to do this operation, it lacks documentation on the matter

Docs can be added here : https://docs.cosmian.com/key_management_system/kmip/_export/

To acheive that hybird unwrapping scheme, we should provide :

CryptographicParameters {
                cryptographic_algorithm: Some(CryptographicAlgorithm::RSA),
                // Note: We use "None" padding to route toward RSA AES Key Wrap, this is not a mistake
                // see: crate/crypto/src/crypto/wrap/unwrap_key.rs line 365
                padding_method: Some(PaddingMethod::None),
                hashing_algorithm: Some(HashingAlgorithm::SHA1),
                ..CryptographicParameters::default()
            },

Since counter-intuitive, this behavior is better to be documented (don't take this issue, I will do it. Ping me if something is not clear)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions