Project

General

Profile

Actions

Feature #1564

closed

Should SecTpmFile cache the keys in memory?

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Each time SecTpmFile needs a key, it goes to the file system, reads the key, decodes base64 and decodes DER. After reading a key for the first time, should it cache it in memory? Maybe use a SecTpmMemory internally as a cache?

https://github.com/named-data/ndn-cxx/blob/dfa52c4400de8a576ea8b206135020cabe8d158d/src/security/sec-tpm-file.cpp#L244

Actions

Also available in: Atom PDF