1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00

Threat Model: add remark about secure key storage

This commit is contained in:
Paul Schaub 2021-12-13 13:21:18 +01:00
parent 5108b81252
commit af8d04c66f
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -43,3 +43,11 @@ It was decided that protection against brute force attacks on passwords used in
PGPainless cannot limit access to the ciphertext that is being brute forced, as that is provided by PGPainless cannot limit access to the ciphertext that is being brute forced, as that is provided by
the application that uses PGPainless. the application that uses PGPainless.
Therefore, protection against brute force attacks must be employed by the application itself. Therefore, protection against brute force attacks must be employed by the application itself.
#### (Public) Key Modification Attacks
As a library, PGPainless cannot protect against swapped out public keys.
It is therefore responsibility of the consumer to ensure that an attacker on the same system cannot tamper with stored keys.
It is highly advised to store both secret and public keys in a secure key storage which protects against modifications.
Furthermore, PGPainless cannot verify key authenticity, so it is up to the application that uses PGPainless to check,
if a key really belongs to a certain user.