mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-29 15:52:08 +01:00
fix "Easily Generate Keys" example code missing passphrase wrapper class
This commit is contained in:
parent
9e0aa95a5a
commit
d6cf1c6609
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ There are some predefined key archetypes, but it is possible to fully customize
|
||||||
KeyFlag.ENCRYPT_COMMS, KeyFlag.ENCRYPT_STORAGE)
|
KeyFlag.ENCRYPT_COMMS, KeyFlag.ENCRYPT_STORAGE)
|
||||||
).addUserId("Juliet <juliet@montague.lit>")
|
).addUserId("Juliet <juliet@montague.lit>")
|
||||||
.addUserId("xmpp:juliet@capulet.lit")
|
.addUserId("xmpp:juliet@capulet.lit")
|
||||||
.setPassphrase("romeo_oh_Romeo<3")
|
.setPassphrase(Passphrase.fromPassword("romeo_oh_Romeo<3"))
|
||||||
.build();
|
.build();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue