Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
439df8c
feat(mls,uniffi,bindings): verify a gateway attach proof without an e…
mizanxali Nov 20, 2026
f0cfecf
feat(gateway): a reference gateway daemon for the device-facing contract
mizanxali Nov 20, 2026
2d88937
fix(gateway): a first contact fits the scarce backbone budget
mizanxali Nov 20, 2026
cd1d58b
feat(gateway): a reticulum backbone between gateways, and with it lora
mizanxali Nov 25, 2026
c2fc60a
fix(gateway): redial a backbone link the peer cannot attribute
mizanxali Nov 25, 2026
5cffa3c
docs: a reference gateway ships with the sdk (adr 0040)
mizanxali Nov 25, 2026
ee09bce
test(gateway): follow the app_label rename
mizanxali Nov 25, 2026
c9051a3
fix(gateway): cancel a timed-out backbone transfer
mizanxali Nov 25, 2026
bb0ab0f
fix(gateway): presence changes are numbered, so a late snapshot canno…
mizanxali Nov 25, 2026
3035c46
fix(gateway): sockets that never attach cannot lock devices out
mizanxali Nov 25, 2026
2d85707
fix(gateway): budget the airtime toward a peer, and size it to the sh…
mizanxali Nov 25, 2026
6e8eb94
fix(gateway): spend less airtime on peers that are away or anonymous
mizanxali Nov 25, 2026
0f091ba
fix(gateway): requests to a peer go one at a time, so a timed-out fra…
mizanxali Nov 25, 2026
46a6563
fix(gateway): back off from a peer that never answers, and resend los…
mizanxali Nov 25, 2026
3e80ac9
fix(gateway): budget the backbone per host in bytes, and size it from…
mizanxali Nov 25, 2026
9bd2c5f
fix(gateway): a device that disconnects does not cancel its frame on air
mizanxali Nov 25, 2026
1c6a103
fix(gateway): one host cannot fill the unbound pool, and a reticulum …
mizanxali Nov 25, 2026
3f9f2f0
fix(protocol,gateway): media stays off a scarce backbone
mizanxali Nov 25, 2026
feff948
fix(gateway): a one-packet request does not wait for a turn on the link
mizanxali Nov 25, 2026
c2fcc5b
fix(gateway): charge the backbone budgets when a frame goes on air, n…
mizanxali Nov 25, 2026
a4e5dc7
fix(gateway): a late resend cannot revive a device a newer snapshot l…
mizanxali Nov 25, 2026
65ac1b7
fix(gateway): an ipv6 host is its /64, and rns is pinned to the serie…
mizanxali Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,33 @@ Questions about a release, or about upgrading to one? Ask in the

### Added

- **A reference gateway daemon, and with it LoRa**
([ADR 0040](docs/adr/0040-a-reference-gateway-ships-with-the-sdk.md)).
The `reticulum` transport's device half has spoken the
[gateway contract](docs/spec/gateway-contract.md) since 0.25, but nothing in
the SDK answered it, so the transport never became available.
[`gateway/`](gateway/README.md) is the other half, in Python: devices attach
over local IP with a proof it checks through
`verify_gateway_address_proof`, and every submission gets exactly one
verdict. With a `[reticulum]` section it also carries frames and presence to
provisioned peer gateways over Reticulum, which is how an RNode's LoRa radio
reaches the SDK. No device-side change is needed: enable `reticulum` and
point its daemon address at the gateway. Two real engines pair over MLS and
exchange a message across two daemon processes joined by a Reticulum
backbone in its tests; it has not yet been run over radios. Expect a first
contact between two devices to cost about 20 backbone frames each: by
arithmetic, a few minutes on the example radio (SF8, 10 % airtime) and
hours at 1 %. A new gateway is unreachable while Reticulum mints its
one-time announce stamp.
- **A gateway daemon can verify a device's attach proof without building
it: `verify_gateway_address_proof(address, public_key, signature,
challenge)`**, instance-less, in every binding and over the C API's
instance-less call. It is the gateway half of
`gateway_address_declaration`: it checks the signature over the one
canonical payload ([the gateway contract](docs/spec/gateway-contract.md#attach))
and that the key derives to the claimed address, and returns that address
or throws. A daemon still owns the third check, that the challenge is the
one it minted for this connection and has not been accepted before.
- **A browser page can dial a native app on the same Wi-Fi network, or on
the phone's own hotspot, from one code the app shows: WebRTC Direct**
([ADR 0039](docs/adr/0039-a-browser-dials-a-native-device-from-a-code.md)).
Expand Down Expand Up @@ -55,6 +82,14 @@ Questions about a release, or about upgrading to one? Ask in the

### Changed

- **Media on the `reticulum` (gateway) transport is chunked at 64 KiB, the
peer-stream size, instead of 4 KiB.** The slot is a stream to a gateway
daemon over local IP, and the device never sizes frames to the backbone
behind it (ADR 0026). At 4 KiB every chunk slipped under a scarce
gateway's frame bound, so media crossed a LoRa backbone, which the gateway
contract says it MUST NOT; now every full chunk is refused
`frame_too_large` there, and a broad gateway carries transfers in fewer,
larger frames.
- **The mesh `appId` is now `appLabel`** (`app_label` in Rust, Python, Ruby
and the C API), so it is no longer mistaken for the App ID (`app_…`) the
developer portal issues for telemetry. Only the name changed: the value
Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ that are versioned, reviewable, and readable by people who are not an agent.
| `offline-protocol-sealed`: the envelope codec, `derive_address`, canonical signing payloads, ratchet constants, the 1:1 control-frame prefixes, `KeyPackagePayload`, the identity assertion codec | ADR [0022](docs/adr/0022-one-sealed-layer-shared-with-the-leaf.md) (also dual std/no_std, and the one home for each) |
| `offline-protocol-leaf`: anything a device does at pairing, on a frame, or with its store | ADR [0021](docs/adr/0021-a-leaf-node-speaks-mls.md) and [docs/spec/leaf-provisioning.md](docs/spec/leaf-provisioning.md) (a time source, real entropy, durable-before-emit and authorization are obligations, not suggestions) |
| The fast link: bringing up Wi-Fi between two devices that meet over Bluetooth, the `__FAST_LINK__` frame, the bridges' host and join code | ADR [0038](docs/adr/0038-a-fast-link-is-offered-inside-the-session.md) and [the fast link state machine](docs/state-machines/fast-link.md) (credentials only ever travel sealed and ephemeral; the host admits only the invitee) |
| The gateway daemon: `gateway/`, the Reticulum (LoRa) backbone, `verify_gateway_address_proof` | ADR [0040](docs/adr/0040-a-reference-gateway-ships-with-the-sdk.md), [the gateway contract](docs/spec/gateway-contract.md) and [gateway/README.md](gateway/README.md) (the daemon never builds the proof payload itself; a backbone verdict waits for the peer gateway; the scarce burst must cover a first contact) |
| Replicated documents: the store, sync frames, attachments | [docs/spec/data-sync.md](docs/spec/data-sync.md), [the replication state machine](docs/state-machines/data-replication.md), ADR [0018](docs/adr/0018-data-layer-engine-and-storage-seams.md) and [0019](docs/adr/0019-remote-document-imports-are-contained-not-trusted.md) |
| Any binding: Swift, Kotlin, Python, TypeScript, C, Java, Ruby, the browser | [docs/bridges/](docs/bridges/README.md) |
| The C API: `offline-protocol-uniffi/src/capi`, `bindings/c` | [docs/bridges/c.md](docs/bridges/c.md) (the dispatcher is generated from the UDL; the header is generated by cbindgen and committed) |
Expand Down
5 changes: 3 additions & 2 deletions bindings/c/include/offline_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ const char *offline_protocol_version(void);

/**
* Calls one of the definition's instance-less functions
* (`derive_address`, `parse_invite`, `verify_identity_assertion`), which
* need no engine and may run before `offline_protocol_create`.
* (`derive_address`, `parse_invite`, `verify_identity_assertion`,
* `verify_gateway_address_proof`), which need no engine and may run before
* `offline_protocol_create`.
*
* `params_json` is a JSON object keyed by the definition's parameter names,
* or null for none. On success `*out_result` is the result as JSON, freed
Expand Down
1 change: 1 addition & 0 deletions bindings/csharp/local_api_methods.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ update_dors_config
update_relay_config
update_retry_config
update_transport_metrics
verify_gateway_address_proof
verify_identity_assertion
verify_signature
verify_signature_bytes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated />
// Generated by tools/gen_csharp_local_api.py from offline_protocol.udl
// UDL_SHA256 = 5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae
// UDL_SHA256 = 702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b
// Do not edit.

#nullable enable
Expand All @@ -19,6 +19,9 @@ public static Task<string> DeriveAddressAsync(string? parametersJson = null, Can
public static Task<string> ParseInviteAsync(string? parametersJson = null, CancellationToken cancellationToken = default) =>
CallStaticAsync("parse_invite", parametersJson, cancellationToken);

public static Task<string> VerifyGatewayAddressProofAsync(string? parametersJson = null, CancellationToken cancellationToken = default) =>
CallStaticAsync("verify_gateway_address_proof", parametersJson, cancellationToken);

public static Task<string> VerifyIdentityAssertionAsync(string? parametersJson = null, CancellationToken cancellationToken = default) =>
CallStaticAsync("verify_identity_assertion", parametersJson, cancellationToken);
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ static void uniffiCheckApiChecksums() {
if (UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_run_storage_conformance() != ((short) 20699)) {
throw new RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project");
}
if (UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof() != ((short) 21016)) {
throw new RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project");
}
if (UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion() != ((short) 61480)) {
throw new RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,28 @@ public static java.lang.String runStorageConformance(ProtocolStateStorageProvide
}


public static java.lang.String verifyGatewayAddressProof(java.lang.String address, java.util.List<java.lang.Byte> publicKey, java.util.List<java.lang.Byte> signature, java.util.List<java.lang.Byte> challenge) throws ProtocolException {
try {
return FfiConverterString.INSTANCE.lift(
UniffiHelpers.uniffiRustCallWithError(new ProtocolExceptionErrorHandler(), (_allocator, _status) -> {
return UniffiLib.uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof(_allocator,
FfiConverterString.INSTANCE.lower(address), FfiConverterSequenceByte.INSTANCE.lower(publicKey), FfiConverterSequenceByte.INSTANCE.lower(signature), FfiConverterSequenceByte.INSTANCE.lower(challenge), _status);
})
);
} catch (java.lang.RuntimeException _uniffi_ex) {

if (ProtocolException.class.isInstance(_uniffi_ex.getCause())) {
throw (ProtocolException)_uniffi_ex.getCause();
}

if (InternalException.class.isInstance(_uniffi_ex.getCause())) {
throw (InternalException)_uniffi_ex.getCause();
}
throw _uniffi_ex;
}
}


public static java.lang.String verifyIdentityAssertion(java.util.List<java.lang.Byte> assertion) throws ProtocolException {
try {
return FfiConverterString.INSTANCE.lift(
Expand Down
18 changes: 18 additions & 0 deletions bindings/java/src/main/java/com/offlineprotocol/sdk/UniffiLib.java
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,15 @@ static java.lang.foreign.MemorySegment uniffi_offline_protocol_uniffi_fn_func_ru
} catch (Throwable _ex) { throw new AssertionError("invokeExact failed", _ex); }
}

// uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof
private static final java.lang.invoke.MethodHandle MH_uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof = findDowncallHandle("uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof", java.lang.foreign.FunctionDescriptor.of(RustBuffer.LAYOUT, RustBuffer.LAYOUT, RustBuffer.LAYOUT, RustBuffer.LAYOUT, RustBuffer.LAYOUT, java.lang.foreign.ValueLayout.ADDRESS));

static java.lang.foreign.MemorySegment uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof(java.lang.foreign.SegmentAllocator _allocator, java.lang.foreign.MemorySegment address, java.lang.foreign.MemorySegment publicKey, java.lang.foreign.MemorySegment signature, java.lang.foreign.MemorySegment challenge, java.lang.foreign.MemorySegment _uniffiOutErr) {
try {
return (java.lang.foreign.MemorySegment) MH_uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof.invokeExact(_allocator, address, publicKey, signature, challenge, _uniffiOutErr);
} catch (Throwable _ex) { throw new AssertionError("invokeExact failed", _ex); }
}

// uniffi_offline_protocol_uniffi_fn_func_verify_identity_assertion
private static final java.lang.invoke.MethodHandle MH_uniffi_offline_protocol_uniffi_fn_func_verify_identity_assertion = findDowncallHandle("uniffi_offline_protocol_uniffi_fn_func_verify_identity_assertion", java.lang.foreign.FunctionDescriptor.of(RustBuffer.LAYOUT, RustBuffer.LAYOUT, java.lang.foreign.ValueLayout.ADDRESS));

Expand Down Expand Up @@ -2900,6 +2909,15 @@ static short uniffi_offline_protocol_uniffi_checksum_func_run_storage_conformanc
} catch (Throwable _ex) { throw new AssertionError("invokeExact failed", _ex); }
}

// uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof
private static final java.lang.invoke.MethodHandle MH_uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof = findDowncallHandle("uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof", java.lang.foreign.FunctionDescriptor.of(java.lang.foreign.ValueLayout.JAVA_SHORT));

static short uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof() {
try {
return (short) MH_uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof.invokeExact();
} catch (Throwable _ex) { throw new AssertionError("invokeExact failed", _ex); }
}

// uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion
private static final java.lang.invoke.MethodHandle MH_uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion = findDowncallHandle("uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion", java.lang.foreign.FunctionDescriptor.of(java.lang.foreign.ValueLayout.JAVA_SHORT));

Expand Down
8 changes: 7 additions & 1 deletion bindings/python/offline_protocol_sdk/local_api/dispatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
"derive_address",
"parse_invite",
"verify_identity_assertion",
"verify_gateway_address_proof",
}
)

Expand Down Expand Up @@ -338,7 +339,12 @@
#: The one group a client may call before ``hello``: nothing to stamp,
#: nothing to route.
BEFORE_HELLO: frozenset[str] = frozenset(
{"derive_address", "parse_invite", "verify_identity_assertion"}
{
"derive_address",
"parse_invite",
"verify_identity_assertion",
"verify_gateway_address_proof",
}
)

#: Methods whose result is an identifier (or a list of them) that later
Expand Down
7 changes: 6 additions & 1 deletion bindings/python/offline_protocol_sdk/local_api/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

UDL_SHA256 = "5d2c20ac6054a3ac6d1890f1d539f686f2fff6119beae596b682ba0569e1a9ae"
UDL_SHA256 = "702b40d0a44e0b060e63b9673cd10715a3a357d547724d42c7e9074af2d3c06b"

TABLE = {'callbacks': ('MlsStorageProvider',
'ProtocolStateStorageProvider',
Expand Down Expand Up @@ -604,6 +604,11 @@
'run_storage_conformance': ((('storage',
'ProtocolStateStorageProvider'),),
'string'),
'verify_gateway_address_proof': ((('address', 'string'),
('public_key', 'sequence<u8>'),
('signature', 'sequence<u8>'),
('challenge', 'sequence<u8>')),
'string'),
'verify_identity_assertion': ((('assertion', 'sequence<u8>'),),
'string')}},
'records': {'AckConfig': (('default_timeout_ms', 'u64', False),
Expand Down
37 changes: 37 additions & 0 deletions bindings/python/offline_protocol_sdk/offline_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ def _uniffi_check_api_checksums(lib):
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
if lib.uniffi_offline_protocol_uniffi_checksum_func_run_storage_conformance() != 20699:
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
if lib.uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof() != 21016:
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
if lib.uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion() != 61480:
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
if lib.uniffi_offline_protocol_uniffi_checksum_method_datastore_attachment_hash() != 10852:
Expand Down Expand Up @@ -1097,6 +1099,9 @@ def _uniffi_check_api_checksums(lib):
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_run_storage_conformance.argtypes = (
)
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_run_storage_conformance.restype = ctypes.c_uint16
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof.argtypes = (
)
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_gateway_address_proof.restype = ctypes.c_uint16
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion.argtypes = (
)
_UniffiLib.uniffi_offline_protocol_uniffi_checksum_func_verify_identity_assertion.restype = ctypes.c_uint16
Expand Down Expand Up @@ -1859,6 +1864,14 @@ def _uniffi_check_api_checksums(lib):
ctypes.POINTER(_UniffiRustCallStatus),
)
_UniffiLib.uniffi_offline_protocol_uniffi_fn_func_run_storage_conformance.restype = _UniffiRustBuffer
_UniffiLib.uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof.argtypes = (
_UniffiRustBuffer,
_UniffiRustBuffer,
_UniffiRustBuffer,
_UniffiRustBuffer,
ctypes.POINTER(_UniffiRustCallStatus),
)
_UniffiLib.uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof.restype = _UniffiRustBuffer
_UniffiLib.uniffi_offline_protocol_uniffi_fn_func_verify_identity_assertion.argtypes = (
_UniffiRustBuffer,
ctypes.POINTER(_UniffiRustCallStatus),
Expand Down Expand Up @@ -15069,6 +15082,29 @@ def run_storage_conformance(storage: ProtocolStateStorageProvider) -> str:
*_uniffi_lowered_args,
)
return _uniffi_lift_return(_uniffi_ffi_result)
def verify_gateway_address_proof(address: str,public_key: typing.List[int],signature: typing.List[int],challenge: typing.List[int]) -> str:

_UniffiFfiConverterString.check_lower(address)

_UniffiFfiConverterSequenceUInt8.check_lower(public_key)

_UniffiFfiConverterSequenceUInt8.check_lower(signature)

_UniffiFfiConverterSequenceUInt8.check_lower(challenge)
_uniffi_lowered_args = (
_UniffiFfiConverterString.lower(address),
_UniffiFfiConverterSequenceUInt8.lower(public_key),
_UniffiFfiConverterSequenceUInt8.lower(signature),
_UniffiFfiConverterSequenceUInt8.lower(challenge),
)
_uniffi_lift_return = _UniffiFfiConverterString.lift
_uniffi_error_converter = _UniffiFfiConverterTypeProtocolError
_uniffi_ffi_result = _uniffi_rust_call_with_error(
_uniffi_error_converter,
_UniffiLib.uniffi_offline_protocol_uniffi_fn_func_verify_gateway_address_proof,
*_uniffi_lowered_args,
)
return _uniffi_lift_return(_uniffi_ffi_result)
def verify_identity_assertion(assertion: typing.List[int]) -> str:

_UniffiFfiConverterSequenceUInt8.check_lower(assertion)
Expand Down Expand Up @@ -15161,6 +15197,7 @@ def verify_identity_assertion(assertion: typing.List[int]) -> str:
"derive_address",
"parse_invite",
"run_storage_conformance",
"verify_gateway_address_proof",
"verify_identity_assertion",
"DataStore",
"DataStoreProtocol",
Expand Down
Loading
Loading