Remove non-implicit invremain attribute fields
This commit is contained in:
parent
3b2ee73bab
commit
96a03f1a27
|
@ -2479,8 +2479,8 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "zkp"
|
||||
version = "0.7.0"
|
||||
source = "git+https://gitlab.torproject.org/onyinyang/lox-zkp#0210f272211bd9a4000e3ee9dd9358316b0a8d0c"
|
||||
version = "0.8.0"
|
||||
source = "git+https://gitlab.torproject.org/onyinyang/lox-zkp#7dc7562ecdac3a6c7c7ecc31cace192174d34778"
|
||||
dependencies = [
|
||||
"curve25519-dalek",
|
||||
"merlin",
|
||||
|
|
|
@ -98,7 +98,6 @@ pub struct Response {
|
|||
// The new attributes; the trust_level and invites_remaining are
|
||||
// implicit
|
||||
level_since: Scalar,
|
||||
invremain: Scalar,
|
||||
|
||||
// The fields for the new Lox credential
|
||||
P: RistrettoPoint,
|
||||
|
@ -558,7 +557,6 @@ impl BridgeAuth {
|
|||
|
||||
Ok(Response {
|
||||
level_since,
|
||||
invremain,
|
||||
P,
|
||||
EncQ,
|
||||
id_server,
|
||||
|
@ -625,7 +623,7 @@ pub fn handle_response(
|
|||
Xblockages: &lox_pub.X[6].compress(),
|
||||
Plevel: &(state.trust_level * resp.P).compress(),
|
||||
Psince: &(resp.level_since * resp.P).compress(),
|
||||
Pinvremain: &(resp.invremain * resp.P).compress(),
|
||||
Pinvremain: &(invremain * resp.P).compress(),
|
||||
TId: &resp.TId.compress(),
|
||||
TBucket: &resp.TBucket.compress(),
|
||||
TBlockages: &resp.TBlockages.compress(),
|
||||
|
|
Loading…
Reference in New Issue