Dongles and method for providing a digital signature
11646889 · 2023-05-09
Assignee
Inventors
Cpc classification
H04L9/088
ELECTRICITY
G06F21/64
PHYSICS
G07F7/084
PHYSICS
H04L9/3218
ELECTRICITY
G06F21/40
PHYSICS
H04L9/3234
ELECTRICITY
International classification
H04L9/08
ELECTRICITY
H04L9/32
ELECTRICITY
Abstract
Set of two or more dongles for providing a digital signature, wherein each dongle holds a secret key, wherein each dongle is configured to receive a message, to compute a digital signature of the received message using the secret key, and to transmit the computed digital signature, wherein at least one of the dongles is configured to, before computing the digital signature, verify the presence of at least one other dongle belonging to the set, and to compute the digital signature only upon successful verification of the presence of one or more other dongles.
Claims
1. A set of dongles for providing a digital signature, wherein the set comprises a first dongle and at least one other dongle, wherein the first dongle and the at least one other dongle each hold a secret key, wherein the first dongle and the at least one other dongle are each configured to receive a message, to compute a digital signature of the received message using the secret key, and to transmit the computed digital signature, wherein the first dongle is configured to, before computing the digital signature, verify the presence of the at least one other dongle, wherein the first dongle is configured to compute the digital signature responsive to a successful verification by the first dongle of the presence of the at least one other dongle, and wherein the first dongle stores a lower limit of the number of other dongles, the presence of which must be proven, before computing the digital signature.
2. The set according to claim 1, wherein the first dongle is configured to verify the presence of the at least one other dongle by requiring a zero-knowledge proof.
3. The set according to claim 1, wherein the first dongle is configured to measure the time required for verifying the presence of the at least one other dongle and to compute the digital signature only upon successful verification of the presence of the at least one other dongle within a predefined timeframe for each of the at least one other dongle.
4. The set according to claim 1, wherein the first dongle and the at least one other dongle are configured to establish direct wireless connections between each other for verification of presence, and wherein the first dongle is configured to measure the signal strength of the wireless connection to the at least one other dongle and to compute the digital signature in response to the signal strength exceeding a predefined minimum signal strength and/or a distance measure derived from the signal strength being below a predefined maximum distance for each of the at least one other dongle.
5. The set according to claim 1, wherein the at least one other dongle is configured to verify the presence of a mobile terminal before confirming its own presence to the first dongle.
6. The set according to claim 5, wherein the mobile terminal is configured to confirm its presence only within a limited timeframe after authentication of a user of the mobile terminal.
7. A method for providing a digital signature with a first dongle belonging to a set of dongles for providing a digital signature, wherein the set comprises the first dongle and at least one other dongle, and wherein the first dongle and the at least one other dongle each hold a secret key, the method comprising the following steps carried out by the first dongle: receiving a message to be signed; verifying the presence of a total number of the at least one other dongle, the total number being greater or equal to a predefined lower limit; computing a digital signature of the message using the secret key responsive to a successful verification of the presence of as many of the at least one other dongle as defined by the predefined lower limit; and transmitting the computed digital signature.
8. The method according to claim 7, wherein the step of verifying the presence of the at least one other dongle requires a zero-knowledge proof, including: sending a request for providing the zero-knowledge proof to the at least one other dongle, receiving a zero-knowledge proof from the at least one other dongle, verifying the received zero-knowledge proof, and completing a successful verification of the received zero-knowledge proof.
9. The method according to claim 7, wherein: measuring, during verifying the presence of the at least one other dongle, the time required for verifying the presence, and computing the digital signature of the received message responsive to determining that the measured time is within a predefined timeframe for each of the at least one other dongle.
10. The method according to claim 7, comprising: measuring the signal strength of a wireless connection to the at least one other dongle, and computing the digital signature of the received message responsive to determining that the measured signal strength exceeds a predefined minimum signal strength and/or a distance measure derived from the measured signal strength is below a predefined maximum distance for each of the at least one other dongle.
11. The method according to claim 8, comprising the following steps carried out by a second dongle, wherein the second dongle is one of the at least one other dongle: verifying the presence of a mobile terminal connected to the second dongle; and sending a reply to the request for providing a zero-knowledge proof to the first dongle responsive to a successful verification by the second dongle of the presence of the mobile terminal.
12. The method according to claim 5, comprising: authenticating a user of the mobile terminal; and sending the reply to the request for providing a zero-knowledge proof to the first dongle responsive to a successful authentication of the user of the mobile terminal.
13. The set according to claim 5, wherein the mobile terminal is configured to confirm its presence only within a limited timeframe after a biometric authentication of a user of the mobile terminal.
14. The method according to claim 12, comprising: authenticating a user of the mobile terminal using at least partially biometric credentials.
15. The set according to claim 1, wherein the first dongle is configured to verify the presence of a mobile terminal before computing the digital signature and wherein the first dongle is configured to compute the digital signature responsive to a successful verification by the first dongle of the presence of one or more of the other dongles as well as the presence of the mobile terminal.
16. The set according to claim 15, wherein the mobile terminal is configured to confirm its presence only within a limited timeframe after a biometric authentication of a user of the mobile terminal.
17. The method according to claim 7, comprising the following steps carried out by the first dongle: verifying the presence of a mobile terminal connected to the first dongle, and computing the digital signature of the message responsive to a successful verification by the first dongle of the presence of one or more of the other dongles as well as the presence of the mobile terminal.
18. The method according to claim 17, comprising: authenticating a user of the mobile terminal, and computing the digital signature of the message responsive to a successful verification by the first dongle of the presence of one or more of the other dongles as well as a successful authentication of the user of the mobile terminal.
19. The method according to claim 18, comprising: authenticating a user of the mobile terminal using at least partially biometric credentials.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) Referring now to the drawings, wherein the figures are for purposes of illustrating the present invention and not for purposes of limiting the same:
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) The use-case schematically illustrated by
(6) The dongles a, b, c are mobile (battery-powered), portable devices that fit into a pocket. Typically, owners O.sub.i (i.e. O.sub.a, O.sub.b, O.sub.c) of dongles i used for high-security applications are required to carry their respective dongle i with them at all times. This is to ensure that each dongle i remains under the exclusive control of its respective owner O.sub.i. This situation is indicated in
(7) As is shown in
(8) The host h is connected over a network 10 with a database 11. The database 11 represents a public transaction directory that is accessible online, i.e. via the Internet. The database 11 is preferably a distributed public transaction directory, preferably a distributed blockchain of the type used for securing transactions of digital currencies (e.g. Bitcoin or Ethereum).
(9) Each dongle i is configured to receive a message M from the host h over a wireless connection 1, 2, 3 using suitable wireless transmission components (e.g. a Bluetooth transceiver) of a type widely available. Similarly, each dongle i is configured to transmit a computed digital signature S.sub.i(M) with or without a copy of the message M back to the host h over a wireless connection 1, 2, 3. Moreover, each dongle i is configured to compute a digital signature S.sub.i(M) of the received message M using the secret key K.sub.i. Typically, the secret key K.sub.i is stored in a secure element that is configured to accept messages M and return corresponding signatures S.sub.i(M), which are cryptographically derived from the accepted message M and the secret key K.sub.i. The secret key K.sub.i itself therefore never has to leave the secure element or become known outside the secure element. The secure element is preferably a secure cryptoprocessor.
(10) Each dongle i is further configured to verify the presence of one or both of the two other dongles i as will be explained in more detail in connection with
(11) Generally, not all dongles i of a set s need to be present and have their presence verified for any one dongle i to provide a digital signature S.sub.a(M); the presence of a subset might be sufficient, e.g. in case of an M-of-N multi-signature where M is smaller than N and N is the total number of dongles i within the same set s. In the example shown in
(12) Dongle a is also configured to measure the time required for verifying the presence of dongle b. In detail, it is configured to measure the round-trip delay time D(a,b) between sending the random challenge R.sub.a and receiving the digital signature S(R.sub.a,I.sub.b). Only if the delay time D(a,b) is within a predefined timeframe, for example 2 milliseconds (ms), and the digital signature S(R.sub.a,I.sub.b) is valid, will dongle a proceed to compute the digital signature S.sub.a(M). As this condition is preferably tested within the secure element, the secure element preferably comprises a clock and—optionally—a internal power supply to reliably power the clock. If the proof of presence in the form of the digital signature S(R.sub.a,I.sub.b) arrives later, for example after 3 ms, dongle a will not compute the digital signature S.sub.a(M) of the message M. The timeframe is effectively an upper limit on the round-trip delay time D(a,b) and functions as a distance measure between the secure elements of the dongles a and b. The physical distance effects the round-trip delay time due to the limited speed for transmission of information (generally the speed of light). In practice, the round-trip delay time will however be dominated by delays in the transmission electronics mediating the connection between the secure elements of the two dongles a and b. In particular, the enforcement of a predefined timeframe will make it difficult or impossible to relay the connection between the dongles without notice.
(13) Moreover, dongle a is configured to measure the signal strength of the direct wireless connection 4 to dongle b. Dongle a is configured to compute a digital signature S.sub.a(M) of a received message M only if the measured signal strength of the direct wireless connection 4 exceeds a predefined minimum signal strength, for example 4 dBm (equivalent to an estimated 10-meter range of a Bluetooth signal).
(14) As will be explained in more detail in connection with
(15) Finally, dongle a stores a white list for identifying acceptable messages M. If the message M is a transaction, the white list contains for example five acceptable transaction targets (receiving addresses). If the host h requests signature of a message M comprising a transaction to a different target, dongle a denies to sign such a message M. The white list will preferably be stored inside the secure element of dongle a.
(16) If in the above some functionality has been described with respect to a single dongle a, b or c, it will be apparent to those skilled in the art, that each such functionality may be implemented by any or all of the respective other dongles analogously and to a similar effect (often further increased security).
(17) In order to further explain the present method, an exemplary and relatively simple embodiment will be discussed in chronological order along with the sequence diagram shown in
(18) To begin with, the coordinator (that is, the owner O.sub.h and operator of the host h) in step 14 asks the owner O.sub.a of dongle a to activate the signing trigger of dongle a. Owner O.sub.a pushes the button 6 of dongle a, thereby activates the signing trigger 15 of dongle a and switches dongle a into signing mode for a limited timeframe 16 indicated by the left vertical bar parallel to the timeline of dongle a (e.g. for five minutes). In step 17 the owner O.sub.h asks the owner O.sub.b of dongle b to activate the signing trigger of dongle b. Owner O.sub.b pushes the button 6 of dongle b, thereby activates the signing trigger 13 of dongle b and switches dongle b into signing mode for a limited timeframe 12 indicated by the left vertical bar parallel to the timeline of dongle a. Now both dongles a, b are in signing mode.
(19) The coordinator in step 18 enters the desired transaction parameters into the host h. Host h in step 19 compiles the entered transaction parameters into a draft transaction, which corresponds to the message M that needs to be signed with a multi-signature in order to form a complete and valid transaction. In detail, the message M comprises for example an identifier of at least one previous (source) transaction, a redeem script, to which said previous transaction is cryptographically linked, a transaction target address and a transaction amount. The status 20 of the transaction is indicated by a vertical bar parallel to the timeline of the host h.
(20) Once the message M is prepared, the host h via connection 1 (see
(21) The host h stores 29 the digital signature S.sub.a(M) as a partial signature portion (e.g. a partial “scriptSig”) of the draft transaction. It is assumed, that the transaction as defined by the redeem script is a 2-of-3 multi-signature transaction. Thus, host h requires an additional signature from a second dongle i of the set s. Consequently, host h transmits via connection 2 the message M to dongle b. As dongle b is still in signing mode during the timeframe 12, it proceeds to generate 30 a random challenge R.sub.b, which it stores 31 locally. In order to verify the presence of dongle a, dongle b transmits the random challenge R.sub.b to dongle a as part of a zero-knowledge protocol. Dongle a stores 32 the received random challenge R.sub.b and, also still being in signing mode during timeframe 16, signs 33 the random challenge R.sub.b with its private identity I.sub.a, yielding the digital signature S(R.sub.b,I.sub.a), which is stored 34 and transmitted back to dongle b as a zero-knowledge proof of presence. Dongle b verifies 35 the digital signature S(R.sub.b,I.sub.a) with a locally stored identity P(I.sub.a). (Alternatively, the identity P(I.sub.a) may be signed by a certification authority z trusted by dongle b and transmitted together with the digital signature S(P(I.sub.a),I.sub.z) computed by the certification authority with its private identity I.sub.z and with the digital signature S(R.sub.b,I.sub.a) from dongle a to dongle b. Dongle b in this case stores only the identity P(I.sub.z) of the certification authority, verifies the received identity P(I.sub.a) of dongle a with the digital signature S(P(I.sub.a),I.sub.z) and then verifies the presence of dongle a with the digital signature S(R.sub.b,I.sub.a) and the received identity P(I.sub.a).) If the digital signature S(R.sub.b,I.sub.a) received as a zero-knowledge proof of presence turns out valid, dongle b unlocks the secret key K.sub.b and computes 36 the digital signature S.sub.b(M) and transmits the digital signature S.sub.b(M) to the host h.
(22) The host h now has received signatures S.sub.a(M), S.sub.b(M) from two dongles a, b therefore holds a complete signature portion 37. With this complete signature portion 37, host h compiles 38 a valid transaction 39. It then submits 40 the valid transaction 39 to the database 11. The database 11 (or effectively a network of nodes participating in the distributed public transaction directory) validates 41 the submitted transaction. The coordinator verifies 42 that the submitted transaction is included in the database 11 and therefore effective.
(23)
(24) At the moment IIIb in
(25) At the end of the limited timeframes 12, 16, 46, 50 (i.e. a predefined time period after they have entered signing mode), the dongles a, b, c and the mobile terminal T.sub.c will autonomously switch 65 from signing mode into standby mode.
(26) The parallel diagonal lines 66 crossing the timelines in