1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-29 07:42:06 +01:00

fix "Easily Generate Keys" example code missing passphrase wrapper class

This commit is contained in:
Simon Frankenberger 2022-03-03 11:55:34 +01:00
parent 9e0aa95a5a
commit d6cf1c6609
No known key found for this signature in database
GPG key ID: 2F4A3C302FD2ECAE

View file

@ -107,7 +107,7 @@ There are some predefined key archetypes, but it is possible to fully customize
KeyFlag.ENCRYPT_COMMS, KeyFlag.ENCRYPT_STORAGE)
).addUserId("Juliet <juliet@montague.lit>")
.addUserId("xmpp:juliet@capulet.lit")
.setPassphrase("romeo_oh_Romeo<3")
.setPassphrase(Passphrase.fromPassword("romeo_oh_Romeo<3"))
.build();
```