As per Relevance of the word identity, we have this rfc below:
Network Working Group H.
Request for Comments: 1824 E.I.S.S./
Category: Informational August 1995
The Exponential Security System TESS
An Identity-Based Cryptographic
for Authenticated Key-
(E.I.S.S.-Report 1995/4)
Status of this
This memo provides information for the Internet community. This
does not specify an Internet standard of any kind. Distribution
this memo is unlimited
This informational RFC describes the basic mechanisms and
of an identity based system for the secure authenticated exchange
cryptographic keys, the generation of signatures, and the
distribution of public keys
Table of
1. Introduction and preliminary remarks . . . . . . . . . . . . . 2
1.1. Definition of terms/Terminology . . . . . . . . . . . . 2
1.2. Required mechanisms . . . . . . . . . . . . . . . . . . 4
2. Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1. SKIA Setup . . . . . . . . . . . . . . . . . . . . . . . 5
2.2. User Setup . . . . . . . . . . . . . . . . . . . . . . . 5
3. Authentication . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1. Zero Knowledge Authentication . . . . . . . . . . . . . 7
3.2. Unilateral Authentication . . . . . . . . . . . . . . . 8
3.3. Mutual Authentication . . . . . . . . . . . . . . . . . 9
3.4. Message Signing . . . . . . . . . . . . . . . . . . . . 10
4. Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1. Non-Escrowed Key Generation . . . . . . . . . . . . . . 11
4.2. Hardware Protected Key . . . . . . . . . . . . . . . . . 11
4.3. Key Regeneration . . . . . . . . . . . . . . . . . . . . 12
4.4. r ^ r . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5. Implicit Key Exchange . . . . . . . . . . . . . . . . . 13
4.6. Law Enforcement . . . . . . . . . . . . . . . . . . . . 13
4.7. Usage of other Algebraic Groups . . . . . . . . . . . . 14
4.7.1 DSA subgroup SKIA Setup . . . . . . . . . . . . . 14
4.7.2 Escrowed DSA subgroup User Setup . . . . . . . . 14
4.7.3 Non-Escrowed DSA subgroup User Setup . . . . . . 15
4.7.4 DSA subgroup Authentication . . . . . . . . . . . 15
Danisch Informational [Page 1]
RFC 1824 TESS August 1995
5. Multiple SKIAs . . . . . . . . . . . . . . . . . . . . . . . . 15
5.1. Unstructured SKIAs . . . . . . . . . . . . . . . . . . . 15
5.2. Hierarchical SKIAs . . . . . . . . . . . . . . . . . . . 16
5.3. Example: A DNS-based public key structure . . . . . . . 18
Security Considerations . . . . . . . . . . . . . . . . . . . . . 19
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 21
1. Introduction and preliminary
This RFC describes The Exponential Security System TESS [1]. TESS
a toolbox set system of different but cooperating
mechanisms and functions based on the primitive of
exponentiation. TESS is based on asymmetric cryptographical
and a structure of self-certified public keys
The most important mechanisms TESS is based on are the
signature [2, 3] and the KATHY protocols (KeY exchange with
AuTHentication), which were simultaneously discovered by Guenther [4]
and Bauspiess and Knobloch [5, 6, 7].
This RFC explains how to create and use the secret and public keys
TESS and shows a method for the secure distribution of the
keys
It is expected that the reader is familiar with the basics
cryptography, the Discrete Logarithm Problem, and the
signature mechanism
Due to the ASCII representation of this RFC the following style
choosen for mathematical purposes
- a ^ b means the exponentiation of a to the power of b, which
always used within a modulo context
- a[b] means a with an index or subscription of b
- a = b means equality or congruency within a modulo context
1.1. Definition of terms/
Key
A key pair is a set of a public and a secret key which
together. There are two distinct kinds of key pairs, the SKIA
pair and the User key pair. (As will be shown in the section
hierarchical SKIAs, the two kinds of keys are not really distinct
They are the same thing seen from a different point of view.)
Danisch Informational [Page 2]
RFC 1824 TESS August 1995
Any principal (human or machine) who owns, holds and uses a
key pair and can be uniquely identified by any description (
the Identity Descriptor below).
In this RFC example users are referred to as A, B, C or Alice
Bob
SKIA is an acronym for "Secure Key Issuing Authority". The SKIA
a trusted local authority which generates the public and
part of a User key pair. It is the SKIA's duty to verify
the identity encoded in the key pair (see below) belongs to
key holder. It has to check passports, identity cards,
licenses etc. to investigate the real world identity of the
owner. Since every key has an implicite signature of the SKIA
came from, the SKIA is responsible for the correctness of
encoded identity
Since the SKIA has to check the real identity of users, it
usually able to work within a small physical range only (like
campus or a city). Therefore, not all users of a wide area
world wide area network can get their keys from the same SKIA
reasonable expense. There is the need for multiple SKIAs
can work locally. This implies the need of a web of trust
and trust forwards. Communication partners with keys from
same SKIA know the public data of their SKIA because it is part
their own key. Partners with keys from different SKIAs have
make use of the web to learn about the origin, the trust level
and the public key of the SKIA which issued the other key
Id[A] Identity
The Identity Descriptor is a part of the public User key. It is
somehow structured bitstring describing the key owner in a
way. This description of the key owner should be precise enough
fully identify the owner of a User key. The description depends
the nature of the owner. For a human this could be the name,
address, the phone number, date of birth, size of the feet,
of the eyes, or anything else. For a machine this could be
hostname, the hostid, the internet address etc., for a fax
or a modem it could be the international phone number
Furthermore, the description bitstring could contain
management data as the name of the SKIA (see below) which
the key, the SKIA-specific serial number, the expiry date of
Danisch Informational [Page 3]
RFC 1824 TESS August 1995
key, whether the secret part of the key is a software key
hidden in a hardware device (see section Enhancements), etc
Note that the numerical interpretation (the hash value) of
Identity Descriptor is an essential part of the
mechanism of the TESS protocol. It can not be changed in any
without destroying the key structure. Therefore, knowing
public part of a user key pair always means knowing the
Descriptor as composed by the SKIA which issued this key. This
an important security feature of this mechanism
The contents of the Identity Descriptor have to be verified by
issuing SKIA at key generation time. The trust level of the
Key depends on the trust level of the SKIA. A certain
Descriptor must not be used more than once for creating a
Key. There must not exist distinct keys with the same
Descriptor. Nevertheless, a user may have several keys
distinct expiration times, key lengths, serial numbers,
security levels, which affect the contents of the
Descriptor
However, it is emphasized that there are no assumptions about
structure of the Identity Descriptor. The SKIA may choose
construction method depending on its purposes
The Identity Descriptor of a certain user A is referred to
Id[A]. Whereever the Identity Descriptor Id[A] is used in
mathematical context, its cryptographical hash sum H(Id[A])
used
Encrypt(Key,Message
Decrypt(Key,Message
Encryption and Decryption of the Message with any common cipher
1.2. Required
The protocols described in this RFC require the
submechanisms
- A random number generator of cryptographic
- A prime number generator of cryptographic
- A hash mechanism H() of cryptographic
- An encryption mechanism (e.g. a common block cipher
Danisch Informational [Page 4]
RFC 1824 TESS August 1995
- An arithmetical library for long unsigned
- A method for checking network identities against real-
identities (e.g. an authority which checks human identity
etc.)
2.
This section describes the base method for the creation of the
and the User key pairs. Enhancements and modifications are
in subsequent sections
The main idea of the protocols described below is to generate
ElGamal signature (r,s) for an Identity Descriptor Id[A] of a user A
Id[A] and r form the user's public key and s is the users secret key
The connection between the secret and the public key is
verification equation for the ElGamal signature (r,s). Instead
checking the signature (r,s), the equation is used in 'reverse mode
to calculate r^s from public data without knowledge of the secret s
The authority generating those signatures is the SKIA
above
2.1. SKIA
By the following steps the SKIA key pair is created
- p: choose a large prime p of at least 512 bit length
- g: choose a primitive root g in GF(p
- x: choose a random number x in the range 1 < x < p-1
- y:= ( g ^ x ) mod
The public part of the SKIA is the triple (p,g,y), the secret part
x
Since the public triple (p,g,y) is needed within the
equation for the signatures created by the SKIA, this triple is
an essential part of all user keys generated by this SKIA
2.2. User
The User Setup is the generation of an ElGamal signature on
user's Identity Descriptor by the SKIA. This can be done more
once for a specific User, but it is done only once for a
Identity Descriptor
Danisch Informational [Page 5]
RFC 1824 TESS August 1995
To create a User key pair for a User A, the SKIA has to perform
following steps
- Id[A]: Describe the key owner A in any way (name, address, etc.),
convert this description into a bit- or byte-
representation, and concatenate them to form the
Descriptor Id[A].
- k[A]: choose a random number k[A] with gcd(k[A],p-1) = 1. k[A
must not be revealed by the SKIA
- r[A] := ( g ^ k[A] ) mod
- s[A] := ( H(Id[A]) - x * r[A] ) * ( k[A] ^ -1 ) mod (p-1)
The calculated set of numbers fulfills the equation
x * r[A] + s[A] * k[A] = H(Id[A]) mod (p-1).
The public part of the generated key of A consists of Id[A] and r[A],
referenced to as (Id[A],r[A]) in the context of the triple (p,g,y).
(Id[A],r[A]) always implicitely refers to the triple (p,g,y) of
parent SKIA
The secret part of the key is s[A].
k[A] must be destroyed by the SKIA immediately after key generation
because User A could solve the equation and find out the SKIAs
x if he knew both the s[A] and k[A]. The random number k must not
used twice. s[A] must not be equal to 0.
Since (r[A],s[A]) are the ElGamal signature on Id[A], the
between the SKIA public key und the User key pair is the
verification equation
r[A] ^ s[A] = ( g ^ H(Id[A]) ) * ( y ^ (-r[A]) ) mod p
This equation allows to calculate r[A] ^ s[A] from public
without knowledge of the secret s[A]. Since this equation is
very often, and for reasons of readability, the abbreviation Y[A]
used for this equation
Y[A] means to calculate the value of r[A] ^ s[A] which
( g ^ H(Id[A]) ) * ( y ^ (-r[A]) ) mod p
Danisch Informational [Page 6]
RFC 1824 TESS August 1995
Note that a given value of Y[A] is not reliable. It must have
reliably calculated from (p,g,y) and (Id[A],r[A]). Y[A] is to
understood as a macro definition, not as a value
Obviously both the SKIA and the User know the secret part of
User's key and can reveal it, either accidently or in
prepense. The enhancements section below shows methods to
this
3.
This section describes the basic methods of applying the User keys
They refer to online and offline communication between two
A(lice) and B(ob).
The unilateral and the mutual authentications use the KATHY
to generate reliable session keys for further use as
encryption keys etc
3.1. Zero Knowledge
The "Zero Knowledge Authentication" is used if Alice wants
authenticate herself to Bob without need for a session key
Assuming that Bob already reliably learned the (p,g,y) of the
Alice got her key from, the steps are
1. Alice generates a large random number t, 1
have approximately the same length as p-1.
2. a := r[A] ^ t mod
3. Alice sends her public key (Id[A],r[A]) and the number a to Bob
4. Bob generates a large random number c, c
approximately the same length as p-1, and sends c to Alice
5. Alice
c' := (c * s[A] + t) mod (p-1)
and sends c' to Bob
6. Bob verifies
r[A] ^ c' = (Y[A] ^ c) * a mod p
This is the Beth-Zero-Knowledge protocol [8] which is based on self
certified public keys and an improvement of the DLP-Zero-
identification protocol from Chaum, Evertse, and van de Graaf [9].
Danisch Informational [Page 7]
RFC 1824 TESS August 1995
3.2. Unilateral
The "Unilateral Authentication" (or "Half Authentication") can
used in those cases
- Alice wants to authenticate herself to Bob without
authenticating himself to Alice
- Bob wants to send an encrypted message to Alice readable by
only (offline encryption).
A shared key is generated by the following protocol. This key can
known by Alice and Bob only
Assuming that Bob already reliably learned the (p,g,y) of the
Alice got her key from, the steps are
1. Alice sends her public key (Id[A],r[A]) to Bob if he does
already know it
2. Bob chooses a random number 1 < z[A] < p-1 and
v[A] := r[A] ^ z[A] mod
3. Bob sends v[A] to Alice
4. Alice and Bob calculate the session key
Alice: key[A] := v[A] ^ s[A] mod
Bob: key[A] := Y[A] ^ z[A] mod
Apply the equations of the User Key Setup section to Bob's
to see that Alice and Bob get the very same key in step 4:
key[A] = r[A] ^ ( s[A] * z[A] ) mod
A third party cannot calculate key[A], because it has neither s[A
nor z[A]. Therefore, Bob can trust in the fact that only Alice
able to know the key[A] (as long as nobody else knows her
s[A]).
This protocol is based on the Diffie-Hellman scheme [10], but
the weakness of the missing authenticity of the public keys
In this protocol Bob did not verify whether Alice really knew
s[A] and was able to calculate key[A]. Therefore, a final challenge
response step should be performed in case of online
(see the subsection below).
Danisch Informational [Page 8]
RFC 1824 TESS August 1995
In case of sending encrypted messages, Bob can execute step 4
step 3, use the key[A] to encrypt the message, and send the
message together with v[A] in step 3.
3.3. Mutual
The "Mutual Authentication" is used for online connections where
Alice and Bob want to authenticate to each other
Within this protocol description it is assumed that Alice and
have keys of the same SKIA and use the same triple (p,g,y).
in each step the triple has to be used which belongs to the user
it is applied to
The steps are as follows (where the first four steps are
twice the "Unilateral Authentication" and steps 5-9 form a
challenge-response step to find out whether the other side really
the key):
1. Alice sends her (Id[A],r[A]) to Bob
Bob sends his (Id[B],r[B]) to Alice
2. Bob chooses a random number z[A] < p-1
and calculates v[A] := r[A] ^ z[A] mod
Alice chooses a random number z[B] < p-1
and calculates v[B] := r[B] ^ z[B] mod
3. Bob sends v[A] to Alice
Alice sends v[B] to Bob
4. Alice and Bob calculate the session keys
Alice: key[A] := v[A] ^ s[A] mod
key[B] := Y[B] ^ z[B] mod
Bob: key[B] := v[B] ^ s[B] mod
key[A] := Y[A] ^ z[A] mod
5. Alice chooses a random number R[B
Bob chooses a random number R[A
6. Alice sends Encrypt(key[B],R[B]) to Bob
Bob sends Encrypt(key[A],R[A]) to Alice
7. Alice and Bob decrypt the received messages to R'[A] and R'[B].
Danisch Informational [Page 9]
RFC 1824 TESS August 1995
8. Alice sends Encrypt(key[A],T(R'[A])) to Bob
Bob sends Encrypt(key[B],T(R'[B])) to Alice
9. Alice and Bob decrypt the received messages to R''[A] and R''[B
10. Alice verifies whether T(R[B]) = R''[B].
Bob verifies whether T(R[A]) = R''[A].
T() is a simple bijective transformation function, e.g. increment().
After step 4 Alice can trust in the fact that only Bob and
can know key[B], but she still does not know whether she is
talking to Bob. Therefore, she forces Bob to make use of his
within steps 5-9. Alice now has checked whether she really talks
Bob. Since the scheme is symmetrical, Bob also knows that he talks
Alice
3.4. Message
To sign a message m (where H(m) is a cryptographic hash value of
message), the message author A generates an ElGamal signature
using his r[A] as the generator and the s[A] as his secret
- A generates a random number K with gcd(K,p-1) = 1.
- R := r[A] ^ K mod
- S := ( H(m) - s[A] * R ) * (K ^ -1) mod (p-1)
The calculated set of numbers fulfills the equation
( s[A] * R + K * S ) = H(m) mod(p-1)
The signed message consists of (m,Id[A],r[A],R,S).
The receiver of the message checks the authenticity of the message
calculating the hash value H(m) and verifying the equation
r[A] ^ H(m) = ( Y[A] ^ R ) * ( R ^ S ) mod
4.
This section describes several enhancements and modifications of
base protocol as well as other comments
Danisch Informational [Page 10]
RFC 1824 TESS August 1995
4.1. Non-Escrowed Key
Within the normal User Setup procedure for a User A, the SKIA
knowledge about the secret key s[A]. The SKIA could use this key
fake signatures or decrypt messages, or to allow others to do so
To avoid this situation, a slight modification of the User
procedure may be applied. The SKIA Setup is the same as in the
protocol
Within the User Setup the SKIA does not use its primitive element g
but a generator created by the User instead
The modified scheme looks like this
- User A generates a random number a with gcd(a,p-1)=1
- User A calculates g' := g^a mod p and forwards g' to the SKIA
- The SKIA generates Id[A] and k[A] as in the base
- The SKIA sets r[A] := ( g' ^ k[A] ) mod p
s'[A] := ( H(Id[A]) - x * r[A] ) * (k[A] ^ -1) mod (p-1)
- The SKIA forwards (Id[A],r[A],s'[A]) to the user
- The user A calculates his s[A] := s'[A] * (a^-1) mod (p-1)
The SKIA is not able to find out the secret key s[A] of A.
protocol is based on the idea of the 'testimonial' [11].
The SKIA is still able to create a second key with the same
Descriptor (identical or at least having same contents), but
different r[A] and s[A]. If such a second key was successfully
for authentication or message signing, the real key owner can use
own key to proof the existence of two different keys with
(equivalent) Descriptors. The existence of such two keys shows
the SKIA cannot be trusted any longer
If the key is generated by this method, it should be mentioned in
Identity Descriptor. This allows any communication partners to
up in the public part of a key whether the secret part is known
the SKIA
4.2. Hardware Protected
The protocol of the previous subsection guaranteed that the SKIA
not know the user's secret key
Danisch Informational [Page 11]
RFC 1824 TESS August 1995
On the other hand, the SKIA may wish that the user himself does
know his own secret key. This may be necessary because the user
otherwise reveal his secret key accidently or intentionally
Especially if untrusted hard- or software or an environment
trusted process protection is used, the secret key can be spied out
For high-level security applications this might not be acceptable
The key owner must be able to use his key without being able to
this key. This contradiction can be solved by hiding the secret
of the User Key within a protected hardware device
Within the SELANE project, the protocols described in this RFC
implemented for SmartCards. The User Key is created using the non
escrowed key generation procedure described in the previous section
modified such that the random number is generated inside the card
The secret s[A] exists only inside the card and does not get outside
The SmartCard is able to execute all parts of the algorithms
need access to the secret key. To make use of the SmartCard
additional password is required
If the key is hidden in such a hardware device, it should
mentioned in the Identity Descriptor. This allows any
partners to look up in the public part of a key whether the key
hardware protected
4.3. Key
If both methods of the previous subsections are used to protect
key, neither the SKIA nor the User himself knows the secret key.
could be harmful for the User if the hardware device is lost
damaged, because the User could become unable to decrypt
encrypted with the public key
To prevent such a denial of service, there are two methods
- If the protection factor 'a' was choosen by the User, the
can deposit the factor 'a' in a secure way, e.g. give it as
shared secret to his friends. The SKIA can do the same
deposit s'[A] somewhere else. If the SKIA and the
cooperate, they are able to create a second hardware
equivalent to the first
- If the protection factor a was generated inside of the
device, the device itself may give out the s[A] or the a in
secure way (e.g. as a shared secret).
Since the recreation of a User key defeats the property of such a
to exist only once, the SKIA should restrict this to special
only. Furthermore it should be done only after the end of
Danisch Informational [Page 12]
RFC 1824 TESS August 1995
lifetime of the key, if its lifetime was limited
4.4. r ^
A slight modification of the base protocol allows some speedup in
key exchange
- The SKIA is created as in the base
- For the User Setup the SKIA solves the
x * s[A] + r[A] * k[A] = H(Id[A]) mod (p-1)
which differs from the base protocol in that r and s were swapped
- The public key allows to
y ^ s[A] = ( g ^ H(Id[A]) ) * ( r[A] ^ -r[A] ) mod
without knowing s[A]. Here the term ( r[A] ^ -r[A] ) can
precalculated for speedup
- Bob calculates key[A] := ( g ^ H(Id[A]) * r[A] ^ -r[A] ) ^ z[A
and v[A] := y ^ z[A] mod
Alice gets key[A] := v[A] ^ s[A] mod
where key[A] = y ^ (s[A] * z[A])
This protocol is similar to the AMV modification by Agnew et al
[12].
4.5. Implicit Key
If the r ^ r protocol of the previous section is used, an
shared key can be calculated for Alice and Bob by using the Diffie
Hellman scheme
- Alice: key[A,B] = ( g ^ H(Id[B]) * r[B] ^ -r[B] ) ^ s[A] mod
- Bob: key[B,A] = ( g ^ H(Id[A]) * r[A] ^ -r[A] ) ^ s[B] mod
where key[A,B] = key[B,A] = y ^ (s[A] * s[B]).
This can not be used with Non-escrowed keys
4.6. Law
This will be subject of a separate RFC
Danisch Informational [Page 13]
RFC 1824 TESS August 1995
4.7. Usage of other Algebraic
Within this RFC calculations were based on a specific
group, the multiplicative group of integers modulo a prime number
(which is the multiplicative group of a finite field GF(p)). However
any cyclic finite group with a strong discrete logarithm problem
be used, e.g., a subgroup of the multiplicative group or
curves
As an example the subgroup used by the DSA (Digital
Algorithm) of length N can be used instead of the full
group of GF(p) for speedup (in this case the Secure Hash
SHA is recommended as the hash algorithm). See [13, 14] for
description of DSA and SHA
4.7.1. DSA subgroup SKIA
- Generate large primes p and q such that p is at least 512
long, q is 160 bit long, and q is a factor of (p-1).
- choose a primitive root h in GF(p
- g:= h^((p-1)/q
Note that g generates a subgroup G with |G|=
- x: a random number of about 160 bit
- y:= ( g ^ x ) mod
The public key of the SKIA is (p,g,y,q). (q is required for
only.)
The secret key of the SKIA is x
4.7.2. Escrowed DSA subgroup User
- k[A]: a random number of 160 bit length with gcd(k[A],q)=1
- r[A]:= ( g ^ k[A] ) mod
- s[A]:= (H(Id[A]) + x * r[A]) * (k[A] ^ -1) mod
Again, (Id[A],r[A]) is the public key and s[A] is the secret key
Note that r[A] has the length of p and s[A] has the length of q (160
bit).
Danisch Informational [Page 14]
RFC 1824 TESS August 1995
4.7.3. Non-Escrowed DSA subgroup User
- User A generates a random number h of 160 bit length
- User A calculates a := g^h mod p and sends a to the SKIA
- The SKIA generates the user key with the secret key s'[A].
- User A calculates s[A]:= s'[a] * (h^-1) mod
4.7.4. DSA subgroup
The protocols for authentication are the same as described above
except that wherever the modulus (p-1) was used the smaller modulus
is used instead, and DSA is used for message signing
The abbreviation Y[A] still stands for r[A] ^ s[A], which is now (
sign of r[A] was changed for speedup
( g ^ H(Id[A])) * ( y ^ r[A] ) mod
and can be calculated in a faster way
u1 * u2 mod
u1 := g ^ ( H(Id[A]) mod q ) mod
u2 := y ^ ( r[A] mod q ) mod p
5. Multiple
In the preceding sections it was assumed that everybody learned
(p,g,y) triple of a SKIA reliably
By default, a User reliably learns only the (p,g,y) of the SKIA
generated his own key, because he gets the triple with his key
can verify the triple with the signature verification equation
If the User wants to communicate with someone whose key was
by a different SKIA, a method for authenticating the (p,g,y) of
other SKIA is needed
5.1. Unstructured
This will be subject of a separate RFC
Danisch Informational [Page 15]
RFC 1824 TESS August 1995
5.2. Hierarchical
If there is a hierarchy between the SKIAs, their keys can
generated hierarchically
- Every SKIA and every User has a level (expressed as a
number). The root SKIA has level 0. All Users and all other
have levels greater than 0.
- Each SKIA except the root SKIA is also a User, and each User
be a SKIA
A SKIA of level n generates keys for Users of level n+1.
A User of level n is also a SKIA of level n
- Since every SKIA (except the root SKIA) is also a User, each
has an Identity Descriptor describing its Identity and perhaps
level and its parent SKIA. There is a function parent(A)
finds the parent SKIA for every user A. This function may
informations stored in the Identity Descriptor
Thus, the parent() function allows to find the path to the
SKIA for every node of the tree forming the hierarchy
The root SKIA may also have an Identity Descriptor
- The root SKIA creates itself as in the base protocol
- The key for a User A of level n (n>0) is generated by the
SKIA of level n-1. The public part is (Id[A],r[A]), the
part is (s[A]).
User A is automatically SKIA A
p[A] := p[parent(A)] = p of the root
g[A] := r[A
x[A] := s[A
y[A] := g[A] ^ x[A] = r[A] ^ s[A] = Y[A] =
( g[parent(A)] ^ H(Id[A]) ) * ( y[parent(A)] ^ -r[A]) mod
Therefore, the public data (p,g[A],y[A]) of the SKIA A can
calculated by everyone from the public data of the User A and
public data of its parent SKIA. The SKIA A itself may use
faster method to get y[A] by calculating r[A] ^ s[A],
everybody else has to use the slower but public method as in
lower equation. The secret of the "SKIA A" is identical to
secret of the "User A".
Danisch Informational [Page 16]
RFC 1824 TESS August 1995
Since a User A uses the very same data to act as either a user
as a SKIA, and since message signing (subsection 3.4.) is the
same procedure as generating a User key (in fact it is the
thing), a user should not sign a message which could
misunderstood as an Identity Descriptor. An attacker
intercept the message and its signature and abuse it as a
key. This can be avoided by the use of tags which preceed
set of data being signed and show whether it is a message or
Identity Descriptor
This scheme allows any two users (even users of distinct hierarchies
to communicate reliably. They need to know the public data (p,g,y)
each other's root SKIA only. There is no need for online key servers
The communication is the same as in the base protocols but with
extension to the method of finding Y[A] (again with Alice and Bob):
- Bob reliably learned the (p,g,y) of Alice's root SKIA S(0).
- Where Alice presented (Id[A],r[A]) only in the first step, she
presents (Id[S],r[S]) for each SKIA/User node S in her path to
root SKIA S(0). Since this information does not need to
reliable or signed, it can be provided by any simple
mechanism
- Bob iteratively calculates the public data (p,g,y) of each SKIA
the path, starting with Alice's root SKIA, until he gets
(p,g,y) of Alice where y is Y[Alice].
Note that Bob did not have to verify anything within the iteration
After the iteration he has a set of public SKIA data (p,g,y) to
used with Alice public key, but he still does not know whether he
spoofed with wrong data of Alice or her parent SKIAs
Since the iteration Bob calculated is a chain of nested signatures
the correctness of the (p,g,y) he gets depends on every single step
If there is at least one step with a bad Id[S] or r[S], Bob will
a wrong Y[S] in this step and all following steps, and the
doesn't work
If the chain calculated by Bob was not completely correct for
reason, Alice cannot make use of her key: her signatures do
verify, she cannot decrypt encrypted messages and she cannot
to the challenge response step in case of mutual authentication
Danisch Informational [Page 17]
RFC 1824 TESS August 1995
5.3. Example: A DNS-based public key
Here is a simple example of the usage of the hierarchical SKIA
within the DNS name space
Let every domain also be a SKIA, and let the root domain be a
SKIA. Let the Identity Descriptor of any object within the name
be its name: the domain name for domains, the host name for machines
the mail address for humans and services
Consequently, a user with the mail address "danisch@ira.uka.de"
his key from the SKIA of the domain "ira.uka.de". This SKIA
authorized by the SKIA of "uka.de", which was authorized by the
of "de", which is the root SKIA of Germany. It is assumed
everybody reliably learned the public key of the german root
"de".
The public key of danisch@ira.uka.de would look like
( "danisch@ira.uka.de", r[danisch@ira.uka.de] ,
"ira.uka.de" , r[ira.uka.de] ,
"uka.de" , r[uka.de
)
For the reasons described in the previous subsection, this key
self-certified and does not need any further signature
The key can be presented by danisch@ira.uka.de within
communications, be appended to signed messages, or simply
retrieved by the domain name server of ira.uka.de
Someone who reliably learned the (p,g,y) of the root domain .
(Germany) can now build the chain
"de" (p,g,y)[de
"uka.de" (p,g,y)[uka.de
"ira.uka.de" (p,g,y)[ira.uka.de
"danisch@ira.uka.de" (p,g,y)[danisch@ira.uka.de
Thus it is possible to reliably obtain the Y[danisch@ira.uka.de].
To communicate with the whole world, knowledge of the public keys
all root domain SKIAs only is needed. These keys can be stored
some tens of KBytes. No third party is needed for doing
authenticated key exchange
The whole world could also be based on a single root SKIA; in
case a single (p,g,y) is needed only
Danisch Informational [Page 18]
RFC 1824 TESS August 1995
In a more realistic example the Id[danisch@ira.uka.de] could contain
creator= ira.uka.
created= 1-Jun-1995
expiry= 31-Dec-1999
protection= non-escrowed,
type=
name= Hadmut
email= danisch@ira.uka.
phone= +49 721 9640018
fax= +49 721 696893
photo= compressed portrait
Security
- The strength of TESS depends on the strength of the
logarith problem, the strength of the ElGamal signature, and
confidentiality of the SKIAs
- Attention should be paid to the security considerations of
underlying mechanisms (ElGamal, DSA, Diffie-Hellman, etc.).
- Since the SKIA creates itself under normal circumstances,
attacker could create his own SKIA and use it to create a User
with an arbitrary Identity Descriptor. This shows that
Identity Descriptor is as reliable as the origin of the
(p,g,y) of the SKIA it came from. The User Key creation process
a signature process for the Identity Descriptor and
depends on the trustworthyness of the signing SKIA
- It is the SKIA's duty to give the s[A] only to the user
Identity Descriptor belongs to
- Since the very same procedure is used for signing messages
generating user keys, it is important to distinguish
messages and keys
- The authentication protocols work without an online authority
Therefore, there is no simple way for revoking keys. For
reason keys should have an expiration date mentioned in
Identity Descriptor. In case of the hierarchical scheme a
expires if any key in the path to the root SKIA expires
Danisch Informational [Page 19]
RFC 1824 TESS August 1995
1. Th. Beth, F. Bauspiess, H.-J. Knobloch, S. Stempel, "TESS -
Security System based on Discrete Exponentation,"
Communcations Journal, Vol. 17, Special Issue, No. 7, pp
466-475 (1994).
2. T. ElGamal, "A Public Key Cryptosystem and a Signature
Based on Discrete Logarithm," IEEE-Trans. Information Theory
IT-31, pp. 469-472 (July 1985).
3. B. Klein, H.-J. Knobloch, "ElGamal-Signatur"
Sicherheitsmechanismen, ed. Fries, Fritsch, Kessler, Klein, pp
171-176, Oldenburg, Muenchen (1993).
4. C. G. Guenther, "An Identity-Based Key-Exchange Protocol"
Advances in Cryptology, Proceedings of Eurocrypt '89, pp. 29-37,
Springer (1990).
5. B. Klein, H.-J. Knobloch, "KATHY" in Sicherheitsmechanismen, ed
Fries, Fritsch, Kessler, Klein, pp. 252-259, Oldenburg,
(1993).
6. F. Bauspiess, H.-J. Knobloch, "How to keep authenticity alive in
computer network" in Advances in Cryptology, Proceedings
Eurocrypt '89, pp. 38-46, Springer (1990).
7. F. Bauspiess, "SELANE - An Approach to Secure Networks"
Abstracts of SECURICOM '90, pp. 159-164, Paris (1990).
8. Th. Beth, "Efficient zero-knowledge identification scheme
smart cards" in Advances in Cryptology, Proceedings of
'88, pp. 77-84, Springer (1988).
9. D. Chaum, J. H. Evertse, J. van de Graaf, "An improved
for demonstrating possesion of discrete logarithms and
generalizations" in Advances in Cryptology, Proceedings
Eurocrypt '87, pp. 127-141, Springer (1988).
10. W. Diffie, M. Hellman, "New directions in cryptography," IEEE
Trans. Information Theory, 22, pp. 644-654 (1976).
11. Th. Beth, H.-J. Knobloch, "Open network authentication without
online server" in Proc. Symposium on Comput. Security '90, pp
160-165, Rome, Italy (1990).
Danisch Informational [Page 20]
RFC 1824 TESS August 1995
12. G. B. Agnew, R. C. Mullin, S. A. Vanstone, "Improved
signature scheme based on discrete exponentation," Electron
Lett., 26, pp. 1024-1025 (1990).
13. "The Digital Signature Standard," Communications of the ACM, Vol
35, pp. 36-40 (July 1992).
14. Bruce Schneier, Applied Cryptography, John Wiley & Sons (1994).
Author's
Dipl.-Inform. Hadmut
European Institute for System Security (E.I.S.S.)
Institut fuer Algorithmen und Kognitive Systeme (IAKS
University of
D-76128
Phone: ++49 721 96400-18
Fax: ++49 721 696893
EMail: danisch@ira.uka.
WWW: http://avalon.ira.uka.de/personal/danisch.
Danisch Informational [Page 21]
if you see any problems within the linking, don't worry be happy,
this is version 0.1 of the Relevance System and you gotta expect some crappy subroutines sometimes,
just be content we did not write this in Java, which would have made this "bigger and better" HAHAHHA.
RFC documents can be found at I.E.T.F.
Relevance System Copyright © 2002 Spectrum WorldResearch
other technical nosh by ServerMasters Corporation
collaboration of BobX