Blog

Asymmetric Cryptography and QKD, Part 1

Can QKD replace asymmetric key exchange algorithms?

The transition to quantum-resistant cryptography is generating a strong debate between supporters and opponents of alternatives to resistant key exchange channels, including the deployment of QKD. This is a rather turbulent area, where all the proposed and used solutions have their advantages and disadvantages. In the case of deployment, it is therefore necessary to know the limitations of these proposals and choose the protection method carefully according to the desired purpose.

What is QKD?

Quantum cryptography is a field of cryptography that uses the properties of quantum mechanics to protect communication and securely distribute keys. Unlike classical cryptography, whose security is mostly based on the computational difficulty of mathematical problems, it uses some fundamental properties of quantum systems. Current systems primarily address the issue of how to securely obtain a shared secret key.

In the classical world, we can copy and analyze data transmitted over a network without changing its content. This is generally not possible with quantum states, because the measurement itself can affect the measured state. Quantum mechanics proves that it is not possible to simply "observe" a system without affecting it. If an attacker intercepts a transmitted quantum state in order to obtain information about its value, he must measure it. If he measures it, he changes it. This change has an impact in the form of increased error rate.

How is this achieved? Communication in QKD is based on several properties of the quantum world:

  • The superposition principle states that a quantum system can exist in a combination of multiple states at the same time. But only until a measurement occurs that leads to one of the possible outcomes.
  • Entanglement describes the property where two quantum systems can be prepared in such a way that their measurement results exhibit strong correlations (connections). It is important for the quantum world that some of these correlations cannot be explained by the classical model of predetermined values. Quantum cryptography itself then uses the consequences, because it is precisely these correlations that allow us to verify the existence of entanglement and detect third-party interference.
  • The Heisenberg principle describes the law of the quantum world where some pairs of system properties cannot be known exactly at the same time. It is most often explained in the following way. It is not possible to simultaneously measure the position and momentum of a particle with any precision. The more precisely you determine one property, the less precisely you know the other. The smaller the particle we measure, the higher energy we have to use and the more we change the observed system.
  • The inseparability of measurement and change of quantum state is related to the principles of quantum measurement. It describes the limitations of the current knowledge of some pairs of physical quantities.
  • The no-cloning theorem limits the attacker in another way. According to current knowledge, there is no universal way to perfectly copy an unknown quantum state without knowing the original state.

Cryptologists' comments on QKD

Quantum Key Distribution is not just a toy. In the past, this technology was overlooked, considered only an interesting physics experiment, a kind of academic fun that will not be used in practice. But it brings several interesting elements that can increase communication security under certain conditions. Quantum key distribution can transmit key material, but it has certain shortcomings. At the current level of knowledge, we do not know of a way to verify the basic properties of such a channel, which are among the standard security requirements within the framework of current asymmetric cryptography. These required properties include terms such as integrity, identity, and authenticity of the sender, if such an identity exists at all. Therefore, QKD needs and will still need a classical authenticated operating channel for its operation. It is for this reason that there is some skepticism about the deployment of this technology as a universal solution to the problem of quantum computers. The individual arguments can be arranged approximately as follows:

  • The need for security evidence. It is important to realize that the existence of a theoretical security proof of a protocol and the existence of security evidence for a given implementation are two different matters.
  • Key exchange without authentication does not provide protection against an active attacker. Without verification of identity and authenticity, a MITM attack is possible, so this is a fundamental weakness of the concept. For this reason, it is necessary to create an additional regular channel for each QKD channel that ensures these steps.
  • Quantum computers are not the only threat. Although QKD is considered a perfect solution from a marketing perspective, this is not the case. Cryptography is developing and quantum computers are one of the threats, but they are not an apocalypse. Solutions that resist these computers exist and are being developed. In contrast, QKD is focused on a narrowly defined area of security. Secure key distribution is intended for the subsequent deployment of conventional cryptography, but this channel does not solve most of the other security problems of modern communication systems.
  • QKD will not be possible to use throughout the entire Internet. It is used for a limited range of applications, because there are areas where its deployment is beneficial. At the moment, there are hundreds of implementations, among operators, data centers, or users with these specific needs. The economic impacts alone associated with deploying this technology throughout the Internet are strong enough to scare even a hardened economist.
  • Physical hardware will always be more expensive than mathematics. That is true, the implementation of PQC algorithms is cheaper, on the other hand, there are areas with a requirement for a high degree of confidentiality, where such a solution makes sense. Nevertheless, there are areas where the economic side of solving the problem may be uninteresting in terms of the scope of the impacts . In addition, it is necessary to count on the gradual reduction in the cost of implementing quantum cryptography over time. Today's cutting-edge technologies may be commonplace in a few decades.

What does asymmetric cryptography offer?

Asymmetric cryptography is a field that has been developing for several decades. The original algorithms based on the difficulty of solving certain problems are currently past their zenith, their security is seriously threatened by quantum computers. New solutions, the so-called quantum resistant cryptography (PQC – Post Quantum Cryptography or QRC – Quantum Resistant Cryptography) are preparing to enter the scene. Some algorithms are standardized, their implementations are verified, and they can slowly be used. ML-KEMs are available in this area today, HQC-KEM should be available this year, I will not mention digital signature algorithms here.

The name asymmetric cryptography comes from the approach where one key is used for data encryption and the other for decryption. But if we look at it from the user's perspective, what does asymmetric cryptography actually offer at the moment? It is a solution to several groups of problems in the field of computer science:

  • KEM (Key Exchange Mechanism), i.e. a key exchange mechanism. This group of algorithms is divided into Key Agreement and Key Transport. Within the framework of Key Agreement, an agreement is reached on a shared secret, where the counterparties agree on a secret without the need to send it from one side to the other. In the case of Key Transport, the secret is created on one side and sent to the other side.
  • DSA (Digital Signature Algorithm), i.e. a digital signature mechanism. It provides the ability to create a unique mathematical output over certain data, which can be verified using a public key. Due to the complexity of the algorithm, unambiguous evidence linking the key to its owner is provided.
  • Authentication of parties, which allows verification of the identity of the counterparty, can use asymmetric cryptography, but this is not a requirement.
  • Verification of the existence of the identity of the counterparty linked, for example, to PKI, built on top of digital signatures, using asymmetric cryptography.

Thus, this form of protection of communication channels ensures the foundations of trust in the untrustworthy Internet. Without these protective mechanisms, it is impossible to ensure trust and verifiability of counterparties. Furthermore, from a legal point of view, asymmetric cryptography allows proving the identity of the signatory, the authenticity and integrity of data, and also the expression of will associated with a digital signature. These properties are crucial for the legal recognition of electronic acts. However, a similar solution for QKD does not currently exist.

To be continued next time...

The next part will focus on individual protocols and the principles on which they are built.

Reference:

  1. Is the Security of Quantum Cryptography Guaranteed by the Laws of Physics?, 2018, Daniel J. Bernstein
    Source: https://arxiv.org/abs/1803.04520
  2. Quantum Cryptography: As Useless as It Is Expensive?, 2008, Bruce Schneier
    Source: https://www.schneier.com/blog/archives/2008/02/quantum_cryptog.html
  3. Quantum Key Distribution: A Critical Review, 2016, Martin Schaeffer
    Source: https://arxiv.org/abs/1609.06207
  4. Post-Quantum Cryptography: Current State and Quantum Key Distribution Debate, 2015, Daniel J. Bernstein, Tanja Lange
    Source: https://pqcrypto.org/

Autor článku:

Jan Dušátko
Jan Dušátko

Jan Dušátko has been working with computers and computer security for almost a quarter of a century. In the field of cryptography, he has cooperated with leading experts such as Vlastimil Klíma or Tomáš Rosa. Currently he works as a security consultant, his main focus is on topics related to cryptography, security, e-mail communication and Linux systems.

1. Introductory Provisions

1.1. These General Terms and Conditions are, unless otherwise agreed in writing in the contract, an integral part of all contracts relating to training organised or provided by the trainer, Jan Dušátko, IČ 434 797 66, DIČ 7208253041, with location Pod Harfou 938/58, Praha 9 (next as a „lector“).
1.2. The contracting parties in the general terms and conditions are meant to be the trainer and the ordering party, where the ordering party may also be the mediator of the contractual relationship.
1.3. Issues that are not regulated by these terms and conditions are dealt with according to the Czech Civil Code, i.e. Act No.89/2012 Coll.
1.4. All potential disputes will be resolved according to the law of the Czech Republic.

2. Creation of a contract by signing up for a course

2.1. Application means unilateral action of the client addressed to the trainer through a data box with identification euxesuf, e-mailu with address register@cryptosession.cz or register@cryptosession.info, internet pages cryptosession.cz, cryptosession.info or contact phone +420 602 427 840.
2.2. By submitting the application, the Client agrees with these General Terms and Conditions and declares that he has become acquainted with them.
2.3. The application is deemed to have been received at the time of confirmation (within 2 working days by default) by the trainer or intermediary. This confirmation is sent to the data box or to the contact e-mail.
2.4. The standard time for registration is no later than 14 working days before the educational event, unless otherwise stated. In the case of a natural non-business person, the order must be at least 28 working days before the educational event.
2.5. More than one participant can be registered for one application.
2.6. If there are more than 10 participants from one Client, it is possible to arrange for training at the place of residence of the intermediary or the Client.
2.7. Applications are received and processed in the order in which they have been received by the Provider. The Provider immediately informs the Client of all facts. These are the filling of capacity, too low number of participants, or any other serious reason, such as a lecturer's illness or force majeure. In this case, the Client will be offered a new term or participation in another educational event. In the event that the ordering party does not agree to move or participate in another educational event offered, the provider will refund the participation fee. The lack of participants is notified to the ordering party at least 14 days before the start of the planned term.
2.8. The contract between the provider and the ordering party arises by sending a confirmation from the provider to the ordering party.
2.9. The contract may be changed or cancelled only if the legal prerequisites are met and only in writing.

3. Termination of the contract by cancellation of the application

3.1. The application may be cancelled by the ordering party via e-mail or via a data mailbox.
3.2. The customer has the right to cancel his or her application for the course 14 days before the course takes place without any fees. If the period is shorter, the subsequent change takes place. In the interval of 7-13 days, an administrative fee of 10% is charged, cancellation of participation in a shorter interval than 7 days then a fee of 25%. In case of cancellation of the application or order by the customer, the possibility of the customer's participation in an alternative period without any additional fee is offered. The right to cancel the application expires with the implementation of the ordered training.
3.3. In case of cancellation of the application by the trainer, the ordering party is entitled to a full refund for the unrealized action.
3.4. The ordering party has the right to request an alternative date or an alternative training. In such case, the ordering party will be informed about all open courses. The alternative date cannot be enforced or enforced, it depends on the current availability of the course. If the alternative training is for a lower price, the ordering party will pay the difference. If the alternative training is for a lower price, the trainer will return the difference in the training prices to the ordering party.

4. Price and payment terms

4.1. By sending the application, the ordering party accepts the contract price (hereinafter referred to as the participation fee) indicated for the course.
4.2. In case of multiple participants registered with one application, a discount is possible.
4.3. The participation fee must be paid into the bank account of the company held with the company Komerční banka č. 78-7768770207/0100, IBAN:CZ5301000000787768770207, BIC:KOMBCZPPXXX. When making the payment, a variable symbol must be provided, which is indicated on the invoice sent to the client by the trainer.
4.4. The participation fee includes the provider's costs, including the training materials. The provider is a VAT payer.
4.5. The client is obliged to pay the participation fee within 14 working days of receipt of the invoice, unless otherwise stated by a separate contract.
4.6. If the person enrolled does not attend the training and no other agreement has been made, his or her absence is considered a cancellation application at an interval of less than 7 days, i.e. the trainer is entitled to a reward of 25% of the course price. The overpayment is returned within 14 days to the sender's payment account from which the funds were sent. Payment to another account number is not possible.
4.7. An invoice will be issued by the trainer no later than 5 working days from the beginning of the training, which will be sent by e-mail or data box as agreed.

5. Training conditions

5.1. The trainer is obliged to inform the client 14 days in advance of the location and time of the training, including the start and end dates of the daily programme.
5.2. If the client is not a student of the course, he is obliged to ensure the distribution of this information to the end participants. The trainer is not responsible for failure to comply with these terms and conditions.
5.2. By default, the training takes place from 9 a.m. to 5 p.m. at a predetermined location.
5.3. The trainer can be available from 8 a.m. to 9 a.m. and then from 17 a.m. to 6 p.m. for questions from the participants, according to the current terms and conditions.
5.4. At the end of the training, the certificate of absorption is handed over to the end users.
5.5. At the end of the training, the end users evaluate the trainer's approach and are asked to comment on the evaluation of his presentation, the manner of presentation and the significance of the information provided.

6. Complaints

6.1. If the participant is grossly dissatisfied with the course, the trainer is informed of this information.
6.2. The reasons for dissatisfaction are recorded in the minutes in two copies on the same day. One is handed over to the client and one is held by the trainer.
6.3. A statement on the complaint will be submitted by e-mail within two weeks. A solution will then be agreed within one week.
6.4. The customer's dissatisfaction may be a reason for discontinuing further cooperation, or financial compensation up to the price of the training, after deduction of costs.

7. Copyright of the provided materials

7.1. The training materials provided by the trainer in the course of the training meet the characteristics of a copyrighted work in accordance with Czech Act No 121/2000 Coll.
7.2. None of the training materials or any part thereof may be further processed, reproduced, distributed or used for further presentations or training in any way without the prior written consent of the trainer.

8. Liability

8.1. The trainer does not assume responsibility for any shortcomings in the services of any third party that he uses in the training.
8.2. The trainer does not assume responsibility for injuries, damages and losses incurred by the participants in the training events or caused by the participants. Such costs, caused by the above circumstances, shall be borne exclusively by the participant in the training event.

9. Validity of the Terms

9.1 These General Terms and Conditions shall be valid and effective from 1 October 2024.

Consent to the collection and processing of personal data

According to Regulation (EU) No 2016/679 of the European Parliament and of the Council on the protection of individuals with regard to the processing of personal data and on the free movement of such data and repealing Directive 95/46/EC (General Data Protection Regulation, hereinafter referred to as "the Regulation"), the processor xxx (hereinafter referred to as "the Controller") processes personal data. Individual personal data that are part of the processing during specific activities at this web presentation and in the course of trade are also broken down.
Although the collection of data is ubiquitous, the operation of this website is based on the right to privacy of each user. For this reason, the collection of information about users takes place to the extent absolutely necessary and only if the user decides to contact the operator. We consider any further collection and processing of data unethical.

Information about the records of access to the web presentation

This website does not collect any cookies. The site does not use any analytical scripts of third parties (social networks, cloud providers). For these reasons, an option is also offered for displaying the map in the form of a link, where the primary source is OpenStreet and alternatives then the frequently used Maps of Seznam, a.s., or Google Maps of Google LLC Inc. The use of any of these sources is entirely at the discretion of the users of this site. The administrator is not responsible for the collection of data carried out by these companies, does not provide them with data about users and does not cooperate on the collection of data.
Logging of access takes place only at the system level, the reason being the identification of any technical or security problems. Other reasons are overview access statistics. No specific data is collected or monitored in this area and all access records are deleted after three months.

Information about contacting the operator of the site

The form for contacting the operator of the site (administrator) contains the following personal data: name, surname, e-mail. These data are intended only for this communication, corresponding to the address of the user and are kept for the time necessary to fulfil the purpose, up to a maximum of one year, unless the user determines otherwise.

Information about the order form

In case of an interest in the order form, the form contains more data, i.e. name, surname, e-mail and contact details for the organisation. These data are intended only for this communication, corresponding to the address of the user and are kept for one year, unless the user determines otherwise. In the event that a business relationship is concluded on the basis of this order, only the information required by Czech law on the basis of business relations (company name and address, bank account number, type of course and its price) will continue to be kept by the administrator.

Information about the course completion document

Within the course, a course completion document is issued by the processor. This document contains the following data: student's name and surname, the name and date of the course completion and the employer's name. The information is subsequently used for the creation of a linear hash tree (non-modifiable record). This database contains only information about the provided names and company names, which may or may not correspond to reality and is maintained by the processor for possible re-issuance or verification of the document's issuance.

Rights of the personal data subject

The customer or visitor of this website has the possibility to request information about the processing of personal data, the right to request access to personal data, or the right to request the correction or deletion of any data held about him. In the case of deletion, this requirement cannot be fulfilled only if it is not data strictly necessary in the course of business. The customer or visitor of this website also has the right to obtain explanations regarding the processing of his personal data if he finds out or believes that the processing is carried out in violation of the protection of his private and personal life or in violation of applicable legislation, and the right to request removal of the resulting situation and to ensure the correction.
Furthermore, the customer/visitor of this website may request restriction of processing or object to the processing of personal data and has the right to withdraw his/her consent to the processing of personal data at any time in writing, without prejudice to the lawfulness of their processing prior to such withdrawal. For this purpose, the contact e-mail address support@cryptosession.cz is used.
The customer/visitor has the right to file a complaint against the processing of personal data with the supervisory authority, which is the Office for Personal Data Protection.