From d6cf1c6609de195f67fb2549dc15140b45150dc4 Mon Sep 17 00:00:00 2001 From: Simon Frankenberger Date: Thu, 3 Mar 2022 11:55:34 +0100 Subject: [PATCH] fix "Easily Generate Keys" example code missing passphrase wrapper class --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4157c6d..2627b1f9 100644 --- a/README.md +++ b/README.md @@ -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 ") .addUserId("xmpp:juliet@capulet.lit") - .setPassphrase("romeo_oh_Romeo<3") + .setPassphrase(Passphrase.fromPassword("romeo_oh_Romeo<3")) .build(); ```