Comments (4)
ROM-based Authentication
Random Oracle Model based Authentication (hereinafter referred as Auth) is a NIZKP scheme with a signature proof of knowledge of the following statement:
Given a message m
signed, the prover P
knows one of the secret key a
of three Diffie-Hellman public keys {A_1,A_2,A_3}
, which means P
knows: g^a == A_1 OR g^a == A_2 OR g^a == A_3
The Auth scheme consists of two functions:
σ = Auth(A_i,a_i,{A_1,A_2,A_3},m)
, an authentication functionVerif({A_1,A_2,A_3},σ,m)
, a verification function
from otrv4.
Setup
In the NIZKPK scheme, we have a group G
with prime order q
. In OTRv4, we choose Ed25519 as our group G
.
In NIZKPK of Auth, We reuse one previous defined generator in Cramer-Shoup of DRE (in bytes encode of ed25519):
g = 662e951dcd1ed163d4b75e8206a34f5fbdfe0c5f394d35b63f7855bdeb938a46
Regarding Ed25519 group operations, we use *
to represent PointAddition, and ^
to represent ScalarMultiplication in the following definitions.
from otrv4.
Authentication: Auth(a_i,{A_1,A_2,A_3},m):
a_i
is one of the secret key of the three public keys {A_1,A_2,A_3}
.
m
is the message to be signed.
- Choose
t_1, c_2, c_3, r_2, r_3
randomly fromZq
. - Compute
T_1 = g^t_1
- Compute
T_2 = (g^r_2) * (A_2^c_2)
, andT_3 = (g^r_3) * (A_3^c_3)
- Compute
c = SHA3-256(g ∥ q ∥ A_1 ∥ A_2 ∥ A_3 ∥ T_1 ∥ T_2 ∥ T_3 ∥ m ∥ Φ)
- Compute
c_1 = c - c_2 - c_3 (mod q)
- Compute
r_1 = t_1 - c_1 * a_1
Result: σ = (c_1, r_1, c_2, r_2, c_3, r_3)
from otrv4.
Verification: Verif({A_1,A_2,A_3},σ,m)
- Parse
σ
to retrive components(c_1, r_1, c_2, r_2, c_3, r_3)
. - Compute
c' = SHA3-256(g ∥ q ∥ A_1 ∥ A_2 ∥ A_3 ∥ (g^r_1) * (A_1^c_1) ∥ (g^r_2) * (A_2^c_2) ∥ (g^r_3) * (A_3^c_3) ∥ m ∥ Φ)
. - Check if
c' ≟ c_1 + c_2 + c_3 (mod q)
.
from otrv4.
Related Issues (20)
- Check that we are advising to queue messages in the correct places
- Recover rights of github.com/off-the-record and update HOT 6
- Where to find Double Ratchet implementation in libotr-ng HOT 2
- Issue in `ECDH(a, B)` with check calculating shared secret? HOT 1
- When should we delete skipped_MKenc? HOT 1
- Create a contributing document
- Migrate to gitlab HOT 5
- Create a CONTRIBUTING page
- Synchronize with gitlab instance HOT 12
- Key Registration with Knowledge HOT 1
- Create a plan for 2020 in relationship with the new outcomes as defined in some meetings HOT 2
- Conversations Legacy has been removed HOT 4
- Update for Psi and Psi+ in Wiki page HOT 5
- Clarify what it means to "Send new Auth-R message with new values"
- Add an extension TLV to upgrade to v4 HOT 11
- Application/protocol-specific TLVs
- [Idea] PSK-authenticated fingerprint verification
- http://bugs.otr.im/otrv4/otrv4 is down. HOT 3
- Status of the OTRv4 specification HOT 1
- Concerns regarding verification of generated shared secret (identity checking)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otrv4.