ssh-tpm-agent
ssh-tpm-agent copied to clipboard
add support for persistent srk
- Persisting the SRK allows the creation and use of individual keys without specifying the owner password
Example:
- Set an owner password: tpm2_changeauth -c owner myPass
- Create SSH key and save SRK to handle ID 0x81000002: ssh-tpm-keygen -o -s 0x81000002
- Create another SSH key without entering the owner password: ssh-tpm-keygen -s 0x81000002
- Start the SSH agent without entering the owner password: /ssh-tpm-agent -s 0x81000002 -l /var/tmp/tpm.sock
Based on #37