Task #2633
closed
Remove unimplemented encrypt/decryptInTpm
Added by Anonymous over 9 years ago.
Updated almost 8 years ago.
Description
SecTpm::encryptInTpm and decryptInTpm throw an unimplemented exception. It was decided that encryption does not belong in the NDN library since it is not part of NDN. Therefore, should remove these methods.
- Blocks Task #2367: In security library, remove encrypt/decrypt and support for symmetric keys added
Hi Yingdi. Now that your are implementing the Group-Based Encryption Protocol, do you plan to keep the encrypt/decrypt methods in the ndn-cxx SecTpm? (maybe for non-group encryption?)
- Start date deleted (
03/10/2015)
do you plan to keep the encrypt/decrypt methods in SecTpm?
TPM is not the right place for symmetric encryption. ndn::security::transform
could provide this feature.
Asymmetric encryption should be provided by TPM, because it involves private key usage similar to signing.
@Jeff, I think we will keep the decryption interface because it requires private key. For symmetric key, it is usually used as a nonce key, so unless we have some use case that require long lifetime nonce key, the encrypt/decrypt interface for symmetric key will not be supported in TPM. And as junxiao mentioned that, we will provide transform classes for symmetric encryption.
- Subject changed from security: Remove unimplemented encrypt/decryptInTpm to Remove unimplemented encrypt/decryptInTpm
- Category set to Security
- Status changed from New to Abandoned
This task is no longer applicable to the new security primitives.
Also available in: Atom
PDF