EP4646679A1 - Method for managing a batch of secure elements - Google Patents
Method for managing a batch of secure elementsInfo
- Publication number
- EP4646679A1 EP4646679A1 EP23838030.7A EP23838030A EP4646679A1 EP 4646679 A1 EP4646679 A1 EP 4646679A1 EP 23838030 A EP23838030 A EP 23838030A EP 4646679 A1 EP4646679 A1 EP 4646679A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- secure element
- trust code
- ctc
- transaction
- temporary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4016—Transaction verification involving fraud or risk level assessment in transaction processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
- G06Q20/0655—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash managed centrally
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/321—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wearable devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/322—Aspects of commerce using mobile devices [M-devices]
- G06Q20/3227—Aspects of commerce using mobile devices [M-devices] using secure elements embedded in M-devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/341—Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
- G06Q20/3415—Cards acting autonomously as pay-media
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/12—Card verification
- G07F7/125—Offline card verification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3242—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC
Definitions
- the present invention relates to methods for managing a batch of hardware secure elements . It relates particularly to methods for managing point-to-point transactions between two hardware secure elements .
- CBDC Central Bank Digital Currencies
- the present document focuses on propositions for CBDC relying on hardware secure devices that are usable without network connectivity ( I . e . in of fline mode ) .
- hardware secure devices are supposed to implement a large panel of security measures , the possibility of defrauded secure devices remains possible on the field .
- a central transaction collector may be in charge of collecting history of of fline transactions , carried out by secure devices .
- secure devices can handle of fline transactions , they are supposed to periodically connect the CTC and upload their transaction logs , for example when they have reach a ceiling on their capacity .
- the invention aims at solving the above mentioned technical problem .
- the CTC can detect fraudulent secure devices by performing correlation checks across the of fline transactions .
- the CTC can put it in a blacklist and propagate the blacklist to as much as possible secure devices of the fleet .
- the sending of the blacklist can be performed only for secure devices that connect the CTC and such a connection depends on behavior of each secure device .
- An obj ect of the present invention is a method for managing a batch of hardware secure elements comprising their own temporary trust code .
- the first secure element computes a result of a one-way cryptographic function applied to the temporary trust code stored in said first secure element , then sends to the second secure element a transaction message comprising said result and a transaction data .
- the second secure element performs a temporary trust code control to verify whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element .
- I f the temporary trust code control is positive , the second secure element accepts the point-to-point transaction .
- I f the temporary trust code control is negative , depending on a risk assessment performed by the second secure element , the second secure element rej ects or accepts the point-to-point transaction .
- the central transaction collector, ( CTC ) may set a reference trust code then initiali zes the temporary trust code of all secure elements of the batch with said reference trust code .
- the CTC may maintain a blacklist of secure elements deemed to be compromised .
- the CTC may update the reference trust code with a di f ferent value .
- the CTC may send the reference temporary trust code to the connected secure element only i f the secure element does not belong to the blacklist .
- the CTC may retrieve the transaction log of the connected secure element and apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the CTC may include the connected secure element in the blacklist .
- the one-way cryptographic function may be a message authentication code (MAC ) function taking as input parameters both the temporary trust code and said transaction data .
- MAC message authentication code
- the predefined event may be a detection of a fraudulent secure element by the central transaction collector .
- the predefined event may be a preset timer .
- the CTC may assign a version to the reference trust code and generate a signed vers ion assigned the reference trust code .
- the CTC may send both the reference trust code and the signed vers ion assigned to the reference trust code .
- the first secure element may include in the transaction message the signed version assigned to its own temporary trust code . I f the temporary trust code control is negative , the second secure element may use the received signed version and the signed version assigned to its own temporary trust code for performing the risk assessment .
- the second secure element may keep a history of temporary trust codes provisioned by the CTC and i f the temporary trust code control is negative , the second secure element may use the history for performing the risk assessment .
- the CTC may assign a timestamp to the reference trust code .
- the second secure element may comprise an evolution velocity indicator reflecting the average frequency of reference trust code changes .
- the CTC may send the timestamp assigned to reference trust code and i f the temporary trust code control is negative , the second secure element may use both the evolution velocity indicator and the timestamp assigned to its own temporary trust code for performing the risk assessment .
- each secure element of the batch may comprise their own purse balance of a digital currency and their own transaction log .
- the point-to-point transaction may be a transfer of value from the first secure element acting as a payer to the second secure element acting as payee .
- the second secure element may update both its own transaction log and an internal representation of its own purse balance with said transaction information .
- each of the secure elements of the batch may be one of the following types : smart card, ring, keychain and bracelet .
- Another obj ect of the present invention is a system comprising a batch of hardware secure elements compri sing their own temporary trust code .
- the first secure element is configured to compute a result of a one-way cryptographic function applied to the temporary trust code stored in said first secure element , then to send to the second secure element a transaction message comprising said result and a transaction data .
- the second secure element is configured to perform a temporary trust code control to veri fy whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element .
- the second secure element is configured to accept the point-to-point transaction .
- I f the temporary trust code control is negative , depending on a risk assessment performed by the second secure element , the second secure element is configured to rej ect or accept the point-to-point transaction .
- the system may comprise a central transaction collector ( CTC ) , configured to set a reference trust code then to initiali ze the temporary trust code of all secure elements of the batch with said reference trust code .
- the CTC may be configured to maintain a blacklist of secure elements deemed to be compromised .
- the CTC may be configured to update the reference trust code with a di f ferent value .
- the CTC may be configured to provision the connected secure element with the reference temporary trust code only i f the secure element does not belong to the blacklist .
- the CTC when said online channel is established between the CTC and said connected secure element , the CTC may be configured to retrieve the transaction log of the connected secure element and to apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the CTC may be configured to include the connected secure element in the blacklist .
- each secure element of the batch may comprise their own purse balance of a digital currency and their own transaction log .
- the point-to-point transaction may be a transfer of value from the first secure element acting as a payer to the second secure element acting as payee .
- the second secure element may be configured to update both its own transaction log and its own purse balance with said transaction information .
- Fig . 1 shows a first exemplary flow diagram for managing a batch of secure elements according to an example of the invention
- Fig . 2 shows a diagram of architecture of a system for managing a batch of secure elements according to an example of the invention .
- the invention may apply to any type of hardware secure element .
- the invention is well suited for smart cards and can also apply to physical secure elements having a di f ferent form factor like a ring, a key fob or a bracelet .
- Smart cards are portable small devices comprising a memory, a microprocessor and an operating system for computing treatments . They may comprise services applications like Payment , Access or Telecom applications . Such smart cards may comprise a plurality of memories of di f ferent types , like non-volatile memory and volatile memory . They are considered as tamperresistant ( or " secure” ) because they are able to control the access to the data they contain and to authori ze or not the use of data by other machines .
- a smartcard may also provide computation services based on cryptographic components . In general , smartcards have limited computing resources and limited memory resources and they are intended to connect a host machine that provides them with electric power either in contact mode or in contactless mode . Some smart card have their own embedded energy source .
- Contactless smart cards are designed to communicate according to at least one contactless protocol like a protocol defined by ISO/ IEC 14443 standard .
- Figure 1 depicts an exemplary flow diagram for managing a batch of secure elements according to an example of the invention .
- Each secure element of the batch can act as a requester or a requestee during a transaction between two secure elements .
- a batch ( or fleet ) of hardware secure elements handling digital currency is deployed on the field .
- each hardware secure element of the batch is assigned to an individual .
- more than one secure element can be assigned to a single individual .
- Each hardware secure element comprises its own purse balance , its own of fline transaction log, its own temporary trust code and a ris k engine .
- the secure elements are able to carry out point-to-point transactions in pairs . These point-to-point transactions are considered of fline because they do not require a connection to the Central Transaction Collector .
- a payer secure element trans fers a money amount to a payee secure element so that the purse balance stored in the payer secure element is decreased by the amount of the transaction and the purse balance stored in the payee secure element is increased by the same amount .
- each secure element can store a speci fic internal representation of its own purse balance .
- the purse balance can be stored in a single field or recomputed from a plurality of source tokens .
- the payer secure element updates its own of fline transaction log with transaction data ( like the amount , the identity of the payee secure element and the date for instance ) and the payee secure element updates its own of fline transaction log with transaction data .
- the payer secure element acts as a requester and the payee secure element acts as a requestee .
- a Central Transaction Collector ( CTC ) is in charge of updating the temporary trust code of all trusted secure elements of the batch .
- the Central Transaction Collector is in charge of retrieving the of fl ine transaction log of the secure elements that connect the CTC and to perform a reconciliation of the transaction data extracted from the retrieved of fline transaction logs .
- the secure elements of the batch are able to connect the Central Transaction Collector through so-called online sessions to exchange data with the CTC .
- the central transaction collector 10 sets a reference trust code 11 with an initial value then initiali zes the temporary trust code of all secure elements of the batch with the initial value of the reference trust code .
- the CTC stores the reference trust code 11 in its memory .
- the central transaction collector 10 maintains a blacklist 12 of secure elements deemed to be compromised .
- the CTC stores the blacklist 12 in its memory . Initially, the blacklist is assumed to be empty . The blacklist can be gradually filled with the identi bombs of the secure elements deemed to be hacked
- the central transaction collector 10 updates the reference trust code 11 with a new value di f ferent from the current value of the reference trust code .
- the central transaction collector 10 may generate a random string or number for setting the new value of the reference trust code 11 .
- the CTC may use a cryptographic function to generate the new value .
- the CTC may retrieve the of fline transaction log of the connected secure element and may apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the Central Transaction Collector may include the connected secure element in the blacklist 12 .
- the Central Transaction Collector can declare a fraudulent secure element in the blacklist 12 when another entity ( li ke a police of ficer ) reports the secure element as being hacked .
- step S 16 when an online channel is established between the Central Transaction Collector and a connected secure element belonging to the batch, the Central Transaction Collector provis ions the connected secure element with the current value of the reference temporary trust code only i f the secure element does not belong to the blacklist .
- the connected secure element updates its own temporary trust code with the received value of the reference temporary trust . Consequently, secure elements listed in the blacklist 12 do not receive updates of their temporary trust code from the CTC . In other words , they cannot resynchroni ze their own temporary trust code with the reference trust code of the CTC .
- the payer secure element computes a result of a one-way cryptographic function applied to its own temporary trust code ( i . e . stored in the memory of the payer secure element ) . Then the payer secure element sends to the payee secure element a transaction message 30 comprising the computed result and applicative data speci fic to the transaction .
- the applicative data may include a money amount , a date , a transaction number, and an identi bomb of the payer secure element .
- the payee secure element performs a temporary trust code control to veri fy whether the result ( of the one-way cryptographic function) has been computed using a temporary trust code whose value is equal to the value of the temporary trust code stored in the payee secure element .
- the payee secure element may send to the payer secure element a message acknowledging acceptation of the transaction so that the payer secure element can update its on purse balance and transaction log .
- the payee secure element accepts the point-to-point transaction and updates both its own purse balance and its own transaction log with the transaction data at step S22 .
- the payee secure element can rej ect or accept the point-to-point transaction at step S24 .
- the CTC may assign a version to the reference trust code and sign the version assigned the reference trust code .
- the CTC may send both the reference trust code and the signed version that is assigned to the reference trust code .
- the secure element may be configured to update its own temporary trust code and assign the received signed vers ion to its own temporary trust code .
- the payer secure element may include in the transaction message 30 the signed version assigned to its own temporary trust code . I f the temporary trust code control is negative , the payee secure element may use the received signed version and the signed vers ion assigned to its own temporary trust code for performing the risk assessment .
- the payee secure element may accept the transaction i f the version received from the payer secure element is newer than the version assigned to its own temporary trust code .
- Figure 2 depicts a diagram of architecture of a system 50 according to an example of the invention .
- the system comprises a batch of three secure elements 21 , 22 and 23 designed to manage their own purse of digital currency .
- Each secure element may be a smart card embedding both a battery, a display and a keypad .
- Each secure element of the batch comprises a secure chip, a first physical communication interface designed to exchange data with another secure element of the batch and a second physical communication interface designed to exchange data with a central transaction collector ( CTC ) 10 .
- the first communication interface may be designed to exchange data through a wireless channel .
- the first communication interface may be compliant with Bluetooth Low Energy ⁇ (BLE ) , Wi-Fi or NFC (Near Field Communication) technology .
- the second physical communication interface may be designed to exchange data with a reader through a wired or wireless channel .
- the second communication interface may be compliant with ISO/ IEC7816 standard or ISO/ IEC14443 standard .
- the first and second communication interfaces may be merged in a single communication interface .
- a secure element may rely on a physical terminal embedding the appropriate communication interfaces for establishing a link between the secure element and the CTC .
- the physical terminal may host a local agent that can facilitate the communication between the secure element using the aforementioned communication interf ace/protocols and with the CTC using IP connectivity (Ethernet , Wi-Fi , GSM... + HTTP /TCP, UDP for instance ) .
- the local agent can be a piece of software running on the physical terminal that has input/output interfaces (like a display and a keyboard) for the users .
- the physical terminal may be a smartphone .
- a secure element behaves as a pure slave responding to requests of the physical terminal .
- the local agent can orchestrate the communication between the parties involved in a transaction : the user ( s ) , the payer SE , the payee SE , and when appropriate , the CTC or any other required party .
- the secure chip of a secure element comprises a hardware processor and a non-volatile memory (not shown) .
- the non-volatile memory stores an operating system that includes software instructions that are executed by the processor to perform the features of the secure chip .
- the secure element may be based on a conventional smart card chip with additional features .
- the secure element 21 comprises its own purse balance 217 , its own of fl ine transaction log 214 , a purse manager 216 , its own temporary trust code 211 and a risk engine 215 .
- the secure element 22 comprises its own purse balance 227 , its own of fl ine transaction log 224 , a purse manager 226 , its own temporary trust code 221 and a risk engine 225 .
- the secure element 23 comprises its own purse balance 237 , its own offline transaction log 234 , a purse manager 236 , its own temporary trust code 231 and a risk engine 235 .
- a CTC 10 has initiali zed the temporary trust code of the secure elements 21 , 22 and 23 with an initial value during a preliminary phase . Depending on the history of each secure element , its temporary trust code may have been updated by the CTC once or several times .
- the secure element 21 is configured to compute a result of a one-way cryptographic function applied to its own temporary trust code 221 stored in the secure element 21 .
- the one-way cryptographic function may be a Message Authentication Code (MAC ) algorithm or a Hash function .
- transaction data is used as input parameter ( in addition to the temporary trust code 221 ) of the one-way cryptographic function to generate the result .
- the purse manager 216 can generate the result by executing the one-way cryptographic function .
- the secure element 21 is configured to send to the secure element 22 a transaction message 30 comprising the computed result and a transaction data .
- the secure element 22 Upon receipt of the transaction message , the secure element 22 is configured to perform a temporary trust code control to veri fy whether the received result has been computed using a temporary trust code equal to the temporary trust code 221 stored in the secure element 22 .
- the purse manager 226 can perform the temporary trust code control .
- the secure element 22 is configured to accept the point-to-point transaction i f the temporary trust code control is positive .
- the purse manager 226 can update the purse balance 227 and the transaction log 224 (both stored in the secure element 22 ) with transaction data .
- the secure element 22 can be configured to apply a further risk assessment i f the temporary trust code control is negative . Depending on the result of the risk assessment , the secure element 22 can be configured to rej ect or accept the point-to-point transaction .
- the secure element 21 comprises its own private key 212 and a certi ficate 213 provided by an authority which signed the public counterpart of the private key 212 .
- the secure element 22 comprises its own private key 222 and a certi ficate 223 provided by the authority which signed the public counterpart of the private key 222.
- the secure element 23 may comprise its own private key 232 and a certificate 233 provided by the authority which signed the public counterpart of the private key 232.
- a point-to-point transaction i.e. an offline transaction without connectivity with the CTC
- the secure elements 21 (as payer) and 22 (as payee) can apply the following sequence: a) The secure elements mutually authenticate themselves through their certificates and private keys . b) They exchange data to define details of the payment . c) The payer secure element signs the transaction data with its own private key 212, and generates a message authentication code based on its own temporary trust code 221. Then the payer secure element sends to the payee secure element 22 a transaction message 30 comprising both the signed transaction data and the message authentication code . d) On the receiving side, the payee secure element perform the temporary trust code control: It detects if the payer secure element is synchronized with the same value/version of temporary trust code by trying to validate the received message authentication code using its own temporary trust code 221.
- the payee secure element can perform a risk assessment based on number of parameters.
- the above-presented embodiments can be combined .
- the system 50 can include the central transaction collector 10 .
- the central transaction collector ( CTC ) can be configured to set a reference trust code 11 and to initiali ze the temporary trust code of all secure elements of the batch with this reference trust code .
- the CTC can comprise a blacklist manager 14 adapted to store and maintain a blacklist 12 of secure elements (belonging to the batch) deemed to be compromised .
- the blacklist may contain an identifier of the secure elements that are considered to have been hacked and no longer trustworthy .
- the CTC can comprise a code generator 13 configured to update the reference trust code 11 with a new ( i . e . di f ferent ) value when a predefined event occurs .
- the predefined event may be the detection of a fraudulent secure element by the central transaction collector .
- the predefined event can be a preset timer, such as every 5 days or every month for example .
- the CTC can be configured to update the reference trust code 11 both when the timeout is reached ( i . e . preset timer ) and when a fraudulent secure element is detected or reported to the CTC .
- the CTC can be configured to provision the connected secure element with the reference trust code only i f the connected secure element does not belong to the blacklist .
- the temporary trust code stored in the connected secure element is updated with the received reference trust code .
- the CTC can comprise a storage area 15 for online and of fline transactions and a transaction veri bomb 16 .
- the CTC can retrieve the transaction log stored in the connected secure element . Then the transaction veri bomb 16 can apply a correlation check to the retrieved transaction log .
- such correlation check may include a veri fication of the content of the transaction log taken in isolation .
- the correlation check may also include a veri fication of the consistency of the transaction log data with the transaction histories retrieved from other secure elements of the batch .
- the CTC can detect that the recovered transaction log is tainted with irregularities and place the identi bomb of the connected secure element in the blacklist .
- i f the correlation check shows that the connected secure element is fraudulent
- the CTC includes the connected secure element in the blacklist 12 .
- the payee secure element can take into account the time elapsed since its last connection to the CTC for executing the risk assessment . For instance , i f this duration is longer than 30 days and the transaction amount is less than 20 Euros , the payee secure element can accept the transaction .
- the CTC 10 can assign a timestamp to the reference trust code and each time the CTC provisions a secure element of the batch with the reference trust code , the CTC sends the timestamp assigned to reference trust code so that the secure element stores both the timestamp associated with its own temporary trust code.
- All secure elements of the batch may comprise an evolution velocity indicator 18 reflecting the average frequency of reference trust code changes .
- the payee secure element 22 can comprise a real time clock (RTC) so that the payee secure element is able to date a point-to-point transaction.
- RTC real time clock
- the payee secure element 22 can use both the evolution velocity indicator 18 and the timestamp assigned to its own temporary trust code for performing the risk assessment. For instance, assuming that the timestamp is set to 2:19 p.m. on September 12, 2023 (2023/1527- 14:19) , that the evolution velocity indicator is set to 10 days and the point-to-point transaction occurs on November 23, 2023 at 3:30 p.m.
- the risk engine 225 of the payee secure element may be configured to consider that the reference trust code has changed too many times on CTC side since its own temporary trust code was updated by the CTC and to reject the point-to-point transaction.
- the payee secure element may keep the history of previous temporary trust codes provisioned by the CTC. For example, the payee secure element may keep the value of the last five temporary trust codes. If the temporary trust code control is negative, the payee secure element may use the temporary trust code history for performing the risk assessment by searching whether one of the temporary trust code of the history matches the temporary trust code used by the payer. Thus, the payee secure element can accept the transaction in case of success ful match with one of the last five temporary trust codes .
- the secure elements of the batch may comprise a symmetric key instead of certi ficates and private keys and may be configured to mutually authenticate using the symmetric key .
- a secure element may be a ring, a bracelet , a keychain or a microchip inserted under the skin .
- some embodiments of the invention may also apply to secure elements managing other type of point-to-point transactions .
- the invention can apply to a batch of secure elements able to perform transactions aiming at requesting access to a physical area or resource , alight mobility fleet sharing ( e . g . electric scooters ) , redeeming loyalty points or trans ferring credentials .
- the invention could apply to secure elements designed to perform transactions aiming exchanging credits/rights/points associated with a game .
- a reference trust code is shared by the CTC with a subset of the secure elements that store the value of the reference trust code in their own temporary trust code .
- some embodiments of the invention allow to check whether some secure elements are synchroni zed against a same context . Once detected as a hacked secure element , a bad secure element which is declared in the blacklist will never get the further updated reference trust code and thus will be removed from the circle of trust established by sharing the common reference trust code .
- Some embodiments of the invention encourage secure elements to connect to the central transaction collector on a regular basis ( or even as often as possible ) . This is also beneficial to the way the central transaction collector works to reduce the risk of fraud as well as optimi ze the time window of transactions it works on .
- a payee secure element may autonomously apply security checks to accept or rej ect a point-to-point transaction with a payer secure element without connecting the CTC during the transaction .
- the invention is not limited to the described embodiments or examples .
- the described features of the presented embodiments may be combined as can be understood by those skilled in the art .
- the batch may comprise a large number of secure elements having di f ferent form factors .
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention is a method for managing a batch of secure elements comprising their own temporary trust code. When a point-to-point transaction occurs between a first and a second secure elements (22, 23), of the batch, the first secure element computes a result of a one-way cryptographic function applied tothe temporary trust code stored in the first secure element, then sends to the second secure element a transaction message (30) comprising the result and a transaction data. Following receipt of the transaction message, the second secure element performs a temporary trust code control to verify whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element. If the temporary trust code control is positive, the second secure element accepts the point-to-point transaction, else depending on a risk assessment performed by the second secure element, transaction is rejected or accepted.
Description
METHOD FOR MANAGING A BATCH OF SECURE ELEMENTS
(Field of the invention)
The present invention relates to methods for managing a batch of hardware secure elements . It relates particularly to methods for managing point-to-point transactions between two hardware secure elements .
(Background of the invention)
In the context of an increasing interest of central banks towards Central Bank Digital Currencies , ( CBDC ) , some propositions for CBDC rely on hardware secure devices that are usable without network connectivity, while others proposition rely on secure devices requiring online-only schemes .
The present document focuses on propositions for CBDC relying on hardware secure devices that are usable without network connectivity ( I . e . in of fline mode ) . Although hardware secure devices are supposed to implement a large panel of security measures , the possibility of defrauded secure devices remains possible on the field .
A central transaction collector ( CTC ) may be in charge of collecting history of of fline transactions , carried out by secure devices . Although secure devices can handle of fline transactions , they are supposed to periodically connect the CTC and upload their transaction logs , for example when they have reach a ceiling on their capacity .
There is need to the CTC to limit of fline transactions made by malevolent secure devices .
The invention aims at solving the above mentioned technical problem .
(Summary of the Invention)
Based on the retrieved transaction logs , the CTC can detect fraudulent secure devices by performing correlation checks across the of fline transactions .
When a defrauded secure device is detected, the CTC can put it in a blacklist and propagate the blacklist to as much as possible secure devices of the fleet . Unfortunately, the sending of the blacklist can be performed only for secure devices that connect the CTC and such a connection depends on behavior of each secure device . In addition, it could happen that the si ze of the blacklist exceeds the memory si ze of the secure devices . That is why the invention proposes a solution in which the secure elements do not store the blacklist .
An obj ect of the present invention is a method for managing a batch of hardware secure elements comprising their own temporary trust code . When a trusted point-to- point transaction occurs between a first and a second secure elements , both belonging to the batch, the first secure element computes a result of a one-way cryptographic function applied to the temporary trust code stored in said first secure element , then sends to the second secure element a transaction message comprising said result and a transaction data . Following receipt of the transaction message , the second secure
element performs a temporary trust code control to verify whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element . I f the temporary trust code control is positive , the second secure element accepts the point-to-point transaction . I f the temporary trust code control is negative , depending on a risk assessment performed by the second secure element , the second secure element rej ects or accepts the point-to-point transaction .
Advantageously, the central transaction collector, ( CTC ) may set a reference trust code then initiali zes the temporary trust code of all secure elements of the batch with said reference trust code . The CTC may maintain a blacklist of secure elements deemed to be compromised . When a predefined event occurs , the CTC may update the reference trust code with a di f ferent value . When an online channel is establi shed between the CTC and a connected secure element belonging to the batch, the CTC may send the reference temporary trust code to the connected secure element only i f the secure element does not belong to the blacklist .
Advantageously, when said online channel is established between the CTC and said connected secure element , the CTC may retrieve the transaction log of the connected secure element and apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the CTC may include the connected secure element in the blacklist .
Advantageously, the one-way cryptographic function may be a message authentication code (MAC ) function taking as input parameters both the temporary trust code and said transaction data .
Advantageously, the predefined event may be a detection of a fraudulent secure element by the central transaction collector .
Advantageously, the predefined event may be a preset timer .
Advantageously, the CTC may assign a version to the reference trust code and generate a signed vers ion assigned the reference trust code . Each time the CTC provisions a secure element of the batch, the CTC may send both the reference trust code and the signed vers ion assigned to the reference trust code . The first secure element may include in the transaction message the signed version assigned to its own temporary trust code . I f the temporary trust code control is negative , the second secure element may use the received signed version and the signed version assigned to its own temporary trust code for performing the risk assessment .
Advantageously, the second secure element may keep a history of temporary trust codes provisioned by the CTC and i f the temporary trust code control is negative , the second secure element may use the history for performing the risk assessment .
Advantageously, the CTC may assign a timestamp to the reference trust code . The second secure element may comprise an evolution velocity indicator reflecting the average frequency of reference trust code changes . Each time the CTC provisions a secure element of the batch
with the reference trust code , the CTC may send the timestamp assigned to reference trust code and i f the temporary trust code control is negative , the second secure element may use both the evolution velocity indicator and the timestamp assigned to its own temporary trust code for performing the risk assessment .
Advantageously, each secure element of the batch may comprise their own purse balance of a digital currency and their own transaction log . The point-to-point transaction may be a transfer of value from the first secure element acting as a payer to the second secure element acting as payee . I f the second secure element accepts the point-to-point transaction, the second secure element may update both its own transaction log and an internal representation of its own purse balance with said transaction information .
Advantageously, each of the secure elements of the batch may be one of the following types : smart card, ring, keychain and bracelet .
Another obj ect of the present invention is a system comprising a batch of hardware secure elements compri sing their own temporary trust code . When a trusted point-to- point transaction occurs between a first and a second secure elements , both belonging to the batch, the first secure element is configured to compute a result of a one-way cryptographic function applied to the temporary trust code stored in said first secure element , then to send to the second secure element a transaction message comprising said result and a transaction data . Following receipt of the transaction message , the second secure element is configured to perform a temporary trust code
control to veri fy whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element . I f the temporary trust code control is positive , the second secure element is configured to accept the point-to-point transaction . I f the temporary trust code control is negative , depending on a risk assessment performed by the second secure element , the second secure element is configured to rej ect or accept the point-to-point transaction .
Advantageously, the system may comprise a central transaction collector ( CTC ) , configured to set a reference trust code then to initiali ze the temporary trust code of all secure elements of the batch with said reference trust code . The CTC may be configured to maintain a blacklist of secure elements deemed to be compromised . When a predefined event occurs , the CTC may be configured to update the reference trust code with a di f ferent value . When an online channel is established between the CTC and a connected secure element belonging to the batch, the CTC may be configured to provision the connected secure element with the reference temporary trust code only i f the secure element does not belong to the blacklist .
Advantageously, when said online channel is established between the CTC and said connected secure element , the CTC may be configured to retrieve the transaction log of the connected secure element and to apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the CTC may be
configured to include the connected secure element in the blacklist .
Advantageously, each secure element of the batch may comprise their own purse balance of a digital currency and their own transaction log . The point-to-point transaction may be a transfer of value from the first secure element acting as a payer to the second secure element acting as payee . I f the second secure element accepts the point-to-point transaction, the second secure element may be configured to update both its own transaction log and its own purse balance with said transaction information .
(Brief description of the drawings)
Other characteristics and advantages of the present invention will emerge more clearly from a reading of the following description of a number of preferred embodiments of the invention with reference to the corresponding accompanying drawings in which :
Fig . 1 shows a first exemplary flow diagram for managing a batch of secure elements according to an example of the invention; and
Fig . 2 shows a diagram of architecture of a system for managing a batch of secure elements according to an example of the invention .
(Detailed description of the preferred embodiments)
The invention may apply to any type of hardware secure element . The invention is well suited for smart cards and can also apply to physical secure elements
having a di f ferent form factor like a ring, a key fob or a bracelet .
Smart cards are portable small devices comprising a memory, a microprocessor and an operating system for computing treatments . They may comprise services applications like Payment , Access or Telecom applications . Such smart cards may comprise a plurality of memories of di f ferent types , like non-volatile memory and volatile memory . They are considered as tamperresistant ( or " secure" ) because they are able to control the access to the data they contain and to authori ze or not the use of data by other machines . A smartcard may also provide computation services based on cryptographic components . In general , smartcards have limited computing resources and limited memory resources and they are intended to connect a host machine that provides them with electric power either in contact mode or in contactless mode . Some smart card have their own embedded energy source .
Contact smart cards are usually designed to communicate according to at least one contact protocol like ISO/ IEC7816 T=0 or T=1 communication protocols . Contactless smart cards are designed to communicate according to at least one contactless protocol like a protocol defined by ISO/ IEC 14443 standard .
Figure 1 depicts an exemplary flow diagram for managing a batch of secure elements according to an example of the invention .
Each secure element of the batch can act as a requester or a requestee during a transaction between two secure elements .
In this example , a batch ( or fleet ) of hardware secure elements handling digital currency is deployed on the field . Usually, each hardware secure element of the batch is assigned to an individual . In some cases , more than one secure element can be assigned to a single individual .
Each hardware secure element comprises its own purse balance , its own of fline transaction log, its own temporary trust code and a ris k engine . The secure elements are able to carry out point-to-point transactions in pairs . These point-to-point transactions are considered of fline because they do not require a connection to the Central Transaction Collector . Typically, a payer secure element trans fers a money amount to a payee secure element so that the purse balance stored in the payer secure element is decreased by the amount of the transaction and the purse balance stored in the payee secure element is increased by the same amount . It could be noted that each secure element can store a speci fic internal representation of its own purse balance . For instance , the purse balance can be stored in a single field or recomputed from a plurality of source tokens .
The payer secure element updates its own of fline transaction log with transaction data ( like the amount , the identity of the payee secure element and the date for instance ) and the payee secure element updates its own of fline transaction log with transaction data . In such a case , the payer secure element acts as a requester and the payee secure element acts as a requestee .
A Central Transaction Collector ( CTC ) is in charge of updating the temporary trust code of all trusted secure elements of the batch . The Central Transaction Collector is in charge of retrieving the of fl ine transaction log of the secure elements that connect the CTC and to perform a reconciliation of the transaction data extracted from the retrieved of fline transaction logs .
The secure elements of the batch are able to connect the Central Transaction Collector through so-called online sessions to exchange data with the CTC .
For the sake of simplicity, steps involving the Central Transaction Collector ( CTC ) are presented first .
At step S 10 , the central transaction collector 10 sets a reference trust code 11 with an initial value then initiali zes the temporary trust code of all secure elements of the batch with the initial value of the reference trust code . The CTC stores the reference trust code 11 in its memory .
At step S 12 , the central transaction collector 10 maintains a blacklist 12 of secure elements deemed to be compromised . The CTC stores the blacklist 12 in its memory . Initially, the blacklist is assumed to be empty . The blacklist can be gradually filled with the identi fiers of the secure elements deemed to be hacked
When a predefined event occurs , the central transaction collector 10 updates the reference trust code 11 with a new value di f ferent from the current value of the reference trust code . In some embodiments , the central transaction collector 10 may generate a random string or number for setting the new value of the
reference trust code 11 . Alternatively, the CTC may use a cryptographic function to generate the new value .
At step S 14 , when an online channel is establi shed between the Central Transaction Collector and a connected secure element , the CTC may retrieve the of fline transaction log of the connected secure element and may apply a correlation check to the retrieved transaction log . I f the correlation check shows that the connected secure element is fraudulent , then the Central Transaction Collector may include the connected secure element in the blacklist 12 .
In addition, the Central Transaction Collector can declare a fraudulent secure element in the blacklist 12 when another entity ( li ke a police of ficer ) reports the secure element as being hacked .
At step S 16 , when an online channel is established between the Central Transaction Collector and a connected secure element belonging to the batch, the Central Transaction Collector provis ions the connected secure element with the current value of the reference temporary trust code only i f the secure element does not belong to the blacklist . The connected secure element updates its own temporary trust code with the received value of the reference temporary trust . Consequently, secure elements listed in the blacklist 12 do not receive updates of their temporary trust code from the CTC . In other words , they cannot resynchroni ze their own temporary trust code with the reference trust code of the CTC .
At step S 18 , when a trusted point-to-point transaction occurs between two secure elements belonging
to the batch, the payer secure element computes a result of a one-way cryptographic function applied to its own temporary trust code ( i . e . stored in the memory of the payer secure element ) . Then the payer secure element sends to the payee secure element a transaction message 30 comprising the computed result and applicative data speci fic to the transaction . The applicative data may include a money amount , a date , a transaction number, and an identi fier of the payer secure element .
At step S20 , following receipt of the transaction message 30 , the payee secure element performs a temporary trust code control to veri fy whether the result ( of the one-way cryptographic function) has been computed using a temporary trust code whose value is equal to the value of the temporary trust code stored in the payee secure element . The payee secure element may send to the payer secure element a message acknowledging acceptation of the transaction so that the payer secure element can update its on purse balance and transaction log .
I f the temporary trust code control is success ful , the payee secure element accepts the point-to-point transaction and updates both its own purse balance and its own transaction log with the transaction data at step S22 .
I f the temporary trust code control is negative , depending on a risk assessment performed by the payee secure element , the payee secure element can rej ect or accept the point-to-point transaction at step S24 .
In some embodiments , the CTC may assign a version to the reference trust code and sign the version assigned the reference trust code . Each time the CTC provisions a
secure element of the batch, the CTC may send both the reference trust code and the signed version that is assigned to the reference trust code . Upon receipt of the reference trust code , the secure element may be configured to update its own temporary trust code and assign the received signed vers ion to its own temporary trust code . During a point-to-point transaction, the payer secure element may include in the transaction message 30 the signed version assigned to its own temporary trust code . I f the temporary trust code control is negative , the payee secure element may use the received signed version and the signed vers ion assigned to its own temporary trust code for performing the risk assessment .
For instance , the payee secure element may accept the transaction i f the version received from the payer secure element is newer than the version assigned to its own temporary trust code .
Figure 2 depicts a diagram of architecture of a system 50 according to an example of the invention .
In this example , the system comprises a batch of three secure elements 21 , 22 and 23 designed to manage their own purse of digital currency . Each secure element may be a smart card embedding both a battery, a display and a keypad .
Each secure element of the batch comprises a secure chip, a first physical communication interface designed to exchange data with another secure element of the batch and a second physical communication interface designed to exchange data with a central transaction collector ( CTC ) 10 . The first communication interface may be designed to exchange data through a wireless channel . For instance ,
the first communication interface may be compliant with Bluetooth Low Energy© (BLE ) , Wi-Fi or NFC (Near Field Communication) technology . The second physical communication interface may be designed to exchange data with a reader through a wired or wireless channel . For instance , the second communication interface may be compliant with ISO/ IEC7816 standard or ISO/ IEC14443 standard .
In some embodiments , the first and second communication interfaces may be merged in a single communication interface .
A secure element may rely on a physical terminal embedding the appropriate communication interfaces for establishing a link between the secure element and the CTC . The physical terminal may host a local agent that can facilitate the communication between the secure element using the aforementioned communication interf ace/protocols and with the CTC using IP connectivity (Ethernet , Wi-Fi , GSM... + HTTP /TCP, UDP for instance ) .
The local agent can be a piece of software running on the physical terminal that has input/output interfaces ( like a display and a keyboard) for the users . The physical terminal may be a smartphone .
In some embodiments , a secure element behaves as a pure slave responding to requests of the physical terminal .
The local agent can orchestrate the communication between the parties involved in a transaction : the user ( s ) , the payer SE , the payee SE , and when appropriate , the CTC or any other required party .
The secure chip of a secure element comprises a hardware processor and a non-volatile memory (not shown) . The non-volatile memory stores an operating system that includes software instructions that are executed by the processor to perform the features of the secure chip . The secure element may be based on a conventional smart card chip with additional features .
The secure element 21 comprises its own purse balance 217 , its own of fl ine transaction log 214 , a purse manager 216 , its own temporary trust code 211 and a risk engine 215 .
Similarly, the secure element 22 comprises its own purse balance 227 , its own of fl ine transaction log 224 , a purse manager 226 , its own temporary trust code 221 and a risk engine 225 . Likewise , the secure element 23 comprises its own purse balance 237 , its own offline transaction log 234 , a purse manager 236 , its own temporary trust code 231 and a risk engine 235 .
A CTC 10 has initiali zed the temporary trust code of the secure elements 21 , 22 and 23 with an initial value during a preliminary phase . Depending on the history of each secure element , its temporary trust code may have been updated by the CTC once or several times .
When the secure elements 21 and 22 starts a trusted point-to-point transaction together, the secure element 21 is configured to compute a result of a one-way cryptographic function applied to its own temporary trust code 221 stored in the secure element 21 . For instance , the one-way cryptographic function may be a Message Authentication Code (MAC ) algorithm or a Hash function .
In some embodiments , transaction data is used as input parameter ( in addition to the temporary trust code 221 ) of the one-way cryptographic function to generate the result . The purse manager 216 can generate the result by executing the one-way cryptographic function .
Then the secure element 21 is configured to send to the secure element 22 a transaction message 30 comprising the computed result and a transaction data .
Upon receipt of the transaction message , the secure element 22 is configured to perform a temporary trust code control to veri fy whether the received result has been computed using a temporary trust code equal to the temporary trust code 221 stored in the secure element 22 . The purse manager 226 can perform the temporary trust code control .
The secure element 22 is configured to accept the point-to-point transaction i f the temporary trust code control is positive . The purse manager 226 can update the purse balance 227 and the transaction log 224 (both stored in the secure element 22 ) with transaction data .
The secure element 22 can be configured to apply a further risk assessment i f the temporary trust code control is negative . Depending on the result of the risk assessment , the secure element 22 can be configured to rej ect or accept the point-to-point transaction .
In some embodiments , the secure element 21 comprises its own private key 212 and a certi ficate 213 provided by an authority which signed the public counterpart of the private key 212 . Similarly, the secure element 22 comprises its own private key 222 and a certi ficate 223 provided by the authority which signed the public
counterpart of the private key 222. Likewise, the secure element 23 may comprise its own private key 232 and a certificate 233 provided by the authority which signed the public counterpart of the private key 232.
When a point-to-point transaction (i.e. an offline transaction without connectivity with the CTC) occurs between the secure elements 21 (as payer) and 22 (as payee) , they can apply the following sequence: a) The secure elements mutually authenticate themselves through their certificates and private keys . b) They exchange data to define details of the payment . c) The payer secure element signs the transaction data with its own private key 212, and generates a message authentication code based on its own temporary trust code 221. Then the payer secure element sends to the payee secure element 22 a transaction message 30 comprising both the signed transaction data and the message authentication code . d) On the receiving side, the payee secure element perform the temporary trust code control: It detects if the payer secure element is synchronized with the same value/version of temporary trust code by trying to validate the received message authentication code using its own temporary trust code 221.
If the temporary trust code control fails, the payee secure element can perform a risk assessment based on number of parameters.
The above-presented embodiments can be combined .
In some embodiments , the system 50 can include the central transaction collector 10 . The central transaction collector ( CTC ) can be configured to set a reference trust code 11 and to initiali ze the temporary trust code of all secure elements of the batch with this reference trust code . The CTC can comprise a blacklist manager 14 adapted to store and maintain a blacklist 12 of secure elements (belonging to the batch) deemed to be compromised . The blacklist may contain an identifier of the secure elements that are considered to have been hacked and no longer trustworthy .
The CTC can comprise a code generator 13 configured to update the reference trust code 11 with a new ( i . e . di f ferent ) value when a predefined event occurs . In some examples , the predefined event may be the detection of a fraudulent secure element by the central transaction collector . In some examples , the predefined event can be a preset timer, such as every 5 days or every month for example . In some examples , the CTC can be configured to update the reference trust code 11 both when the timeout is reached ( i . e . preset timer ) and when a fraudulent secure element is detected or reported to the CTC .
When an online channel is establi shed between the CTC 10 and a connected secure element belonging to the batch, the CTC can be configured to provision the connected secure element with the reference trust code only i f the connected secure element does not belong to the blacklist . The temporary trust code stored in the connected secure element is updated with the received reference trust code .
The CTC can comprise a storage area 15 for online and of fline transactions and a transaction veri fier 16 . When an online channel is establi shed between the CTC and a connected secure element , the CTC can retrieve the transaction log stored in the connected secure element . Then the transaction veri fier 16 can apply a correlation check to the retrieved transaction log . Typically, such correlation check may include a veri fication of the content of the transaction log taken in isolation . The correlation check may also include a veri fication of the consistency of the transaction log data with the transaction histories retrieved from other secure elements of the batch . Thus , the CTC can detect that the recovered transaction log is tainted with irregularities and place the identi fier of the connected secure element in the blacklist . Thus , i f the correlation check shows that the connected secure element is fraudulent , then the CTC includes the connected secure element in the blacklist 12 .
In some embodiments , the payee secure element can take into account the time elapsed since its last connection to the CTC for executing the risk assessment . For instance , i f this duration is longer than 30 days and the transaction amount is less than 20 Euros , the payee secure element can accept the transaction .
In some embodiment , the CTC 10 can assign a timestamp to the reference trust code and each time the CTC provisions a secure element of the batch with the reference trust code , the CTC sends the timestamp assigned to reference trust code so that the secure element stores both the timestamp associated with its own
temporary trust code. All secure elements of the batch may comprise an evolution velocity indicator 18 reflecting the average frequency of reference trust code changes .
The payee secure element 22 can comprise a real time clock (RTC) so that the payee secure element is able to date a point-to-point transaction.
When the temporary trust code control is negative, the payee secure element 22 can use both the evolution velocity indicator 18 and the timestamp assigned to its own temporary trust code for performing the risk assessment. For instance, assuming that the timestamp is set to 2:19 p.m. on September 12, 2023 (2023/09/27- 14:19) , that the evolution velocity indicator is set to 10 days and the point-to-point transaction occurs on November 23, 2023 at 3:30 p.m. The risk engine 225 of the payee secure element may be configured to consider that the reference trust code has changed too many times on CTC side since its own temporary trust code was updated by the CTC and to reject the point-to-point transaction.
In some embodiment, the payee secure element may keep the history of previous temporary trust codes provisioned by the CTC. For example, the payee secure element may keep the value of the last five temporary trust codes. If the temporary trust code control is negative, the payee secure element may use the temporary trust code history for performing the risk assessment by searching whether one of the temporary trust code of the history matches the temporary trust code used by the payer. Thus, the payee secure element can accept the
transaction in case of success ful match with one of the last five temporary trust codes .
In some embodiments , the secure elements of the batch may comprise a symmetric key instead of certi ficates and private keys and may be configured to mutually authenticate using the symmetric key .
Although presented for a smart card, some embodiments of the invention may also apply to hardware secure elements having various form factors . For instance , a secure element may be a ring, a bracelet , a keychain or a microchip inserted under the skin .
Although presented for hardware secure elements managing financial transactions through digital currency wallets , some embodiments of the invention may also apply to secure elements managing other type of point-to-point transactions . For instance , the invention can apply to a batch of secure elements able to perform transactions aiming at requesting access to a physical area or resource , alight mobility fleet sharing ( e . g . electric scooters ) , redeeming loyalty points or trans ferring credentials . For example , the invention could apply to secure elements designed to perform transactions aiming exchanging credits/rights/points associated with a game .
Thanks to some embodiments of the invention, a reference trust code is shared by the CTC with a subset of the secure elements that store the value of the reference trust code in their own temporary trust code . By changing the value of the reference trust code over time , some embodiments of the invention allow to check whether some secure elements are synchroni zed against a same context . Once detected as a hacked secure element ,
a bad secure element which is declared in the blacklist will never get the further updated reference trust code and thus will be removed from the circle of trust established by sharing the common reference trust code .
It is to be noted that thanks to the use of the oneway cryptographic function, a secure element cannot get the current value of the temporary trust code of another secure element .
Some embodiments of the invention encourage secure elements to connect to the central transaction collector on a regular basis ( or even as often as possible ) . This is also beneficial to the way the central transaction collector works to reduce the risk of fraud as well as optimi ze the time window of transactions it works on .
Thanks to some embodiments of the invention, a payee secure element may autonomously apply security checks to accept or rej ect a point-to-point transaction with a payer secure element without connecting the CTC during the transaction .
The invention is not limited to the described embodiments or examples . In particular, the described features of the presented embodiments may be combined as can be understood by those skilled in the art . The batch may comprise a large number of secure elements having di f ferent form factors .
Claims
1. A system (50) comprising a batch of hardware secure elements (21, 22, 23) comprising their own temporary trust code (211) , wherein each secure element of the batch comprises their own purse balance (217) of a digital currency and their own transaction log (214) ; wherein the system comprises a central transaction collector (10) , CTC, configured to set a reference trust code (11) with a random value then to initialize the temporary trust code of all secure elements of the batch with said reference trust code; wherein the CTC is configured to maintain a blacklist (12) of secure elements deemed to be compromised; wherein when a predefined event occurs, the CTC is configured to update the reference trust code (11) with a different random value; wherein when an online channel is established between the CTC and a connected secure element (21) belonging to the batch, the CTC is configured to provision the connected secure element with the reference temporary trust code only if the secure element does not belong to the blacklist; wherein when a trusted point-to-point transaction occurs between a first and a second secure elements (22, 23) , both belonging to the batch, the first secure element is configured to compute a result of a one-way cryptographic function applied to the temporary trust
code stored in said first secure element , then to send to the second secure element a transaction message ( 30 ) comprising said result and a transaction data ; wherein following receipt of the transaction message , the second secure element is configured to perform a temporary trust code control to veri fy whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element ; wherein i f the temporary trust code control is positive , the second secure element is configured to accept the point-to-point transaction; and wherein i f the temporary trust code control is negative , depending on an additional risk assessment performed by the second secure element , the second secure element is configured to rej ect or accept the point-to- point transaction; wherein the point-to-point transaction is a transfer of value from the first secure element acting as a payer to the second secure element acting as payee ; and wherein i f the second secure element accepts the point-to-point transaction, the second secure element is configured to update both its own transaction log and an internal representation of its own purse balance with said transaction information .
2 . The system according to claim 1 , wherein when said online channel is establi shed between the CTC and said connected secure element ( 21 ) , the CTC is configured to retrieve the transaction log ( 214 ) of the connected
secure element and to apply a correlation check to the retrieved transaction log; and wherein i f the correlation check shows that the connected secure element is fraudulent , then the CTC is configured to include the connected secure element in the blacklist .
3 . The system according to claim 1 , wherein the CTC is configured to assign a version number to the reference trust code and to generate a signed version number assigned the reference trust code ; wherein, each time the CTC provis ions a secure element of the batch, the CTC is configured to send both the reference trust code and the signed version number assigned to the reference trust code ; wherein the first secure element is configured to include in the transaction message the signed vers ion number assigned to its own temporary trust code ; and wherein i f the temporary trust code control is negative , the second secure element is configured to use the received signed version number and the signed version number assigned to its own temporary trust code for performing the risk assessment .
4 . The system according to claim 1 , wherein the second secure element is configured to keep an history of temporary trust codes provisioned by the CTC ; and wherein i f the temporary trust code control is negative , the second secure element is configured to use the history for performing the risk assessment .
5. The system according to claim 1, wherein the CTC is configured to assign a timestamp to the reference trust code ; wherein the second secure element comprises an evolution velocity indicator (18) reflecting the average frequency of reference trust code changes; wherein, each time the CTC provisions a secure element of the batch with the reference trust code, the CTC is configured to send the timestamp assigned to reference trust code; and wherein if the temporary trust code control is negative, the second secure element is configured to use both the evolution velocity indicator and the timestamp assigned to its own temporary trust code for performing the risk assessment.
6. A method for managing a batch of hardware secure elements (21, 22, 23) comprising their own temporary trust code (211) , wherein each secure element of the batch comprises their own purse balance (217) of a digital currency and their own transaction log (214) ; wherein a central transaction collector (10) , CTC, sets a reference trust code (11) with a random value, then initializes the temporary trust code of all secure elements of the batch with said reference trust code (S10) ; wherein the CTC maintains a blacklist (12) of secure elements deemed to be compromised;
wherein, when a predefined event occurs (S12) , the
CTC updates the reference trust code (11) with a different random value; wherein when an online channel is established between the CTC and a connected secure element (21) belonging to the batch, the CTC sends the reference temporary trust code to the connected secure element only if the secure element does not belong to the blacklist (S16) ; wherein when a trusted point-to-point transaction occurs (S18) between a first and a second secure elements (22, 23) , both belonging to the batch, the first secure element computes a result of a one-way cryptographic function applied to the temporary trust code stored in said first secure element, then sends to the second secure element a transaction message (30) comprising said result and a transaction data; wherein following receipt of the transaction message (S20) , the second secure element performs a temporary trust code control to verify whether the result has been computed using a temporary trust code equal to the temporary trust code stored in the second secure element; wherein when the temporary trust code control is negative (S24) , the second secure element performs an additional risk assessment and accepts the point-to-point transaction if the risk assessment succeeds; wherein the point-to-point transaction is a transfer of value from the first secure element acting as a payer to the second secure element acting as payee; and
wherein if the second secure element accepts the point-to-point transaction, the second secure element updates both its own transaction log and an internal representation of its own purse balance with said transaction information.
7. The method according to claim 6, wherein when said online channel is established between the CTC and said connected secure element (21) , the CTC retrieves the transaction log (214) of the connected secure element and applies a correlation check to the retrieved transaction log (S14 ) ; and wherein if the correlation check shows that the connected secure element is fraudulent, then the CTC includes the connected secure element in the blacklist.
8. The method according to claim 6, wherein the oneway cryptographic function is a message authentication code (MAC) function taking as input parameters both the temporary trust code and said transaction data.
9. The method according to claim 6, wherein the predefined event is a detection of a fraudulent secure element by the central transaction collector.
10. The method according to claim 6, wherein the predefined event is preset timer.
11. The method according to claim 6, wherein the CTC assigns a version number to the reference trust code and
generates a signed version number assigned the reference trust code ; wherein, each time the CTC provis ions a secure element of the batch, the CTC sends both the reference trust code and the signed version number assigned to the reference trust code ; wherein the first secure element includes in the transaction message the signed vers ion number assigned to its own temporary trust code ; and wherein i f the temporary trust code control is negative , the second secure element uses the received signed version number and the signed version number assigned to its own temporary trust code for performing the risk assessment .
12 . The method according to claim 6 , wherein the second secure element keeps an history of temporary trust codes provisioned by the CTC ; and wherein i f the temporary trust code control is negative , the second secure element uses the history for performing the risk assessment .
13 . The method according to claim 6 wherein the CTC assigns a timestamp to the reference trust code ; wherein the second secure element comprises an evolution velocity indicator ( 18 ) reflecting the average frequency of reference trust code changes ; wherein, each time the CTC provis ions a secure element of the batch with the reference trust code , the CTC sends the timestamp assigned to reference trust code ; and
wherein i f the temporary trust code control is negative , the second secure element uses both the evolution velocity indicator and the timestamp assigned to its own temporary trust code for performing the risk assessment .
14 . The method according to claim 6 , wherein each of the secure elements of the batch is one of the following types : smart card, ring, keychain and bracelet .
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23305013.7A EP4398173A1 (en) | 2023-01-05 | 2023-01-05 | Method for managing a batch of secure elements |
| PCT/EP2023/087364 WO2024146831A1 (en) | 2023-01-05 | 2023-12-21 | Method for managing a batch of secure elements |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4646679A1 true EP4646679A1 (en) | 2025-11-12 |
Family
ID=85571423
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP23305013.7A Withdrawn EP4398173A1 (en) | 2023-01-05 | 2023-01-05 | Method for managing a batch of secure elements |
| EP23838030.7A Pending EP4646679A1 (en) | 2023-01-05 | 2023-12-21 | Method for managing a batch of secure elements |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP23305013.7A Withdrawn EP4398173A1 (en) | 2023-01-05 | 2023-01-05 | Method for managing a batch of secure elements |
Country Status (2)
| Country | Link |
|---|---|
| EP (2) | EP4398173A1 (en) |
| WO (1) | WO2024146831A1 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2467975B (en) * | 2009-02-24 | 2014-09-10 | Hewlett Packard Development Co | Authentication method and apparatus using one time pads |
| SG11202112238VA (en) * | 2019-05-09 | 2021-12-30 | Tendyron Corp | Electronic currency offline payment method and payment collection method |
| CN112241879A (en) * | 2019-07-17 | 2021-01-19 | 天地融科技股份有限公司 | An offline transaction method and system based on electronic cash |
-
2023
- 2023-01-05 EP EP23305013.7A patent/EP4398173A1/en not_active Withdrawn
- 2023-12-21 WO PCT/EP2023/087364 patent/WO2024146831A1/en not_active Ceased
- 2023-12-21 EP EP23838030.7A patent/EP4646679A1/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| EP4398173A1 (en) | 2024-07-10 |
| WO2024146831A1 (en) | 2024-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12470399B2 (en) | Methods and systems for ownership verification using blockchain | |
| US20230344649A1 (en) | Offline interaction system and method | |
| CN108352024B (en) | Server-based biometric authentication | |
| RU2710897C2 (en) | Methods for safe generation of cryptograms | |
| US20200394651A1 (en) | Dynamic off-chain digital currency transaction processing | |
| RU2718229C1 (en) | Establishing secure channel | |
| US20220407709A1 (en) | Biometric sensor on portable device | |
| US7788500B2 (en) | Biometric authentication device and terminal | |
| US20250168639A1 (en) | User authentication at access control server using mobile device | |
| KR20210142180A (en) | System and method for efficient challenge-response authentication | |
| CN102088353A (en) | Two-factor authentication method and system based on mobile terminal | |
| CN110290134A (en) | A kind of identity identifying method, device, storage medium and processor | |
| CN121032491B (en) | Payment methods and systems based on smart glasses | |
| JP2024507012A (en) | Payment cards, authentication methods, and use for remote payments | |
| EP3364329B1 (en) | Security architecture for device applications | |
| CN118830226A (en) | On-card cryptographic key storage | |
| Atangana et al. | Securing offline cbdc transactions: Digivault card and markopaychain with mobile phone integration | |
| EP4398173A1 (en) | Method for managing a batch of secure elements | |
| EP4436100A1 (en) | Method for managing a batch of secure elements | |
| US20250156856A1 (en) | Secure transaction unit, electronic token transaction system, and method in a secure transaction unit | |
| US20250378439A1 (en) | Secure payment transaction device | |
| CN112166577A (en) | Efficient concurrent scalar product computation | |
| RU2636694C2 (en) | Method of message secure exchange organization | |
| EP4732507A1 (en) | User device interaction for direct transfer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20250805 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) |