Pass through the marmot repository

This commit is contained in:
Kgothatso Ngako committed 2026-06-19 11:03:38 +03:00
1 parent 3b9be3a9dd
commit 94723eca6a
5 files changed
+305 -132

No files matched your search

@@ -8,9 +8,11 @@ import com.vitorpamplona.quartz.marmot.mls.codec.TlsWriter
import com.vitorpamplona.quartz.marmot.mls.messages.KeyPackageBundle
import com.vitorpamplona.quartz.nip01Core.core.HexKey
import com.vitorpamplona.quartz.nip49PrivKeyEnc.Nip49
import kotlinx.coroutines.CoroutineScope
class DatabaseMarmotRepository(
val database: TorchDatabase
val database: TorchDatabase,
val scope: CoroutineScope
): MarmotRepository {
override suspend fun saveMarmotKeyPackageBundle(
publicKey: HexKey,