Add key generation offset (#104)

* Add key generation offset

* Bump version to 2.1.2
This commit is contained in:
wussler 2020-12-01 19:44:49 +01:00 committed by GitHub
parent 385e6d21d2
commit 75f27fd1df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 4 deletions

View file

@ -435,7 +435,7 @@ func generateKey(
cfg := &packet.Config{
Algorithm: packet.PubKeyAlgoRSA,
RSABits: bits,
Time: getTimeGenerator(),
Time: getKeyGenerationTimeGenerator(),
DefaultHash: crypto.SHA256,
DefaultCipher: packet.CipherAES256,
}