Rename all crate directories, package names, binary names, proto package/module paths, ALPN strings, env var prefixes, config filenames, mDNS service names, and plugin ABI symbols from quicproquo/qpq to quicprochat/qpc.
38 lines
817 B
Protocol Buffer
38 lines
817 B
Protocol Buffer
syntax = "proto3";
|
|
package qpc.v1;
|
|
|
|
// Recovery service — encrypted recovery bundle storage.
|
|
// Method IDs: 750-752.
|
|
|
|
message StoreRecoveryBundleRequest {
|
|
// SHA-256(recovery_token) — server-side lookup key.
|
|
bytes token_hash = 1;
|
|
// Encrypted recovery bundle (opaque to server).
|
|
bytes bundle = 2;
|
|
// TTL in seconds (default 90 days = 7776000).
|
|
uint64 ttl_secs = 3;
|
|
}
|
|
|
|
message StoreRecoveryBundleResponse {
|
|
bool success = 1;
|
|
}
|
|
|
|
message FetchRecoveryBundleRequest {
|
|
// SHA-256(recovery_token) — lookup key.
|
|
bytes token_hash = 1;
|
|
}
|
|
|
|
message FetchRecoveryBundleResponse {
|
|
// Empty if no bundle found.
|
|
bytes bundle = 1;
|
|
}
|
|
|
|
message DeleteRecoveryBundleRequest {
|
|
// SHA-256(recovery_token) — lookup key.
|
|
bytes token_hash = 1;
|
|
}
|
|
|
|
message DeleteRecoveryBundleResponse {
|
|
bool success = 1;
|
|
}
|