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
1 changed files with 1 additions and 1 deletions

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();
```