Add support for PRK password in TPM plugin
[aaf/sshsm.git] / TPM2-Plugin / README.md
1 # Introduction
2
3 This is TPM2-Plugin to load asymetric key pairs to TPM2.0 module.
4 The private part of keys can only be used for signing when it is loaded in TPM module.
5 Loading Password protected Primary Keys in plugin requires the setting of the
6 following ENVIRONMENT Variable:
7 ```
8 TPM_PRK_PASSWORD
9 ```
10 The plugin will read this and setup hmac appropriately for the session.
11 ## Build
12
13 ```
14 ./bootstrap
15 ./configure --prefix test
16 ```
17
18 ## Installation and Uninstallation
19 ```
20 make install
21 ```
22
23 ```
24 make clean
25 make distclean
26 ```