Add todo to save the bundle
This commit is contained in:
1 parent
91699ea0b9
commit
24cb4db9a9
2 files changed
+19
-12
No files matched your search
+2
@@ -213,6 +213,8 @@ class DatabaseNostrRepository(
|
||||
val identity = publicKey.hexToByteArray()
|
||||
val bundle = generateKeyPackage(identity, dTag)
|
||||
|
||||
// TODO: Save the bundle?
|
||||
|
||||
val keyPackageBytes = bundle.keyPackage.toTlsBytes()
|
||||
val keyPackageBase64 = Base64.encode(keyPackageBytes)
|
||||
val keyPackageRef = bundle.keyPackage.reference().toHexKey()
|
||||
|
||||
Reference in new issue
Block a user