Attempt to support invites, working in progress

This commit is contained in:
Maxime Dor
2017-09-06 04:17:46 +02:00
parent c05ca68de4
commit cd6960fa80
27 changed files with 999 additions and 143 deletions

View File

@@ -40,6 +40,7 @@ class SignatureManager implements InitializingBean {
private EdDSAEngine signEngine
// FIXME we need to return a proper object, or a string with the signature and all?
Map<?, ?> signMessage(String message) {
byte[] signRaw = signEngine.signOneShot(message.getBytes())
String sign = Base64.getEncoder().encodeToString(signRaw)