We subconsciously suspect connections with the age of equipment, its reliability and general security. On the other hand, it is difficult to imagine the above problem in the field of cryptography and to accept these development impacts. I was wondering how it is even possible to consider the mentioned life cycles, what impact they have on security, or what relationships there are between the life cycles of cryptography and other applications or services. The goal is to understand the motivations to maintain the current solution, the impacts of extension on technological debt and to what extent the approach using cryptoagility can solve the mentioned problems. This article series tries to summarize the causes that hinder regular and, most importantly, rapid change of cryptography, as well as to provide an overview of the reasons. If we know the reasons for these problems, we are able to consider them and make appropriate decisions.
The first thing that comes to mind when thinking about encryption? Data is encrypted to ensure confidentiality. This is based on the CIA security triad (Confidentiality, Integrity, Availability). But ensuring confidentiality does not solve the motivation for cryptography management. This is influenced by the following reasons.
Just like with outdated technologies, where technological or security debt arises, a similar situation also occurs with cryptography. Unfortunately, it is also often overlooked and neglected. The strongest motive is, or rather should be, the elimination of cryptographic debt. The longer the migration is postponed, the faster the risk grows and the more expensive the transition is. The biggest risk is therefore not weak cryptography. The first is clinging to old technologies, i.e. stagnation. This increases risk and, in fact, costs. Therefore, the only applicable solution for cryptography management is cryptoagility. From a technological point of view, this means designing systems with a separation of algorithms from logic, using abstract layers (separation of libraries) and other necessary extensions, including policy management.
Estimates of the cryptography life cycle can be based on data on past algorithms and their success. This means the time of deployment, the length of support in standards and cryptographic libraries. Unfortunately, it is very difficult to estimate future. For this reason, it is more of a description of the current situation than a general rule, and unfortunately, there is little data available to find regular patterns. The lifetimes given in the table correspond to the largest, practically usable keys for the algorithms. However, this value is gradually increasing, currently for symmetric algorithms it is 256b and for asymmetric ones like RSA it is 3072b.
Unfortunately, other unpleasant influences come into play. When the need for migration of cryptographic algorithms increases, it is usually at a time when the cryptographic debt also gradually increases. The replacement of algorithms and protocols currently takes between 10 and 15 years. And not only in the case of the end of moral, but also in the case of the end of technical life. This is a time interval beyond which reason remains. Conjuring up backward compatibility, unwillingness of customers to migrate or insufficient support from manufacturers then increases the risks to absurd values. Despite all this available information, it is still possible to find in risk matrices for technically outdated protocols or algorithms with a "low" or "low to medium" risk rating. In such a case, this is a gross underestimation of the situation.
| Area | Technical Lifespan | Moral Lifespan | Support | Motivation |
| Symmetric Algorithms | 20-40 Years | 15-30 Years | 20-50 Years | Balance Between Migration Costs and Risk of Compromise |
| Asymmetric Algorithms | 10-30 Years | 10-20 Years | 10-40 Years | Balance Between Migration Costs and Risk of Compromise |
| Hash functions | 20-40 years | 15-20 years | 10-40 years | Balance between migration costs and risk of compromise |
To further complicate the problem, it is also necessary to consider the behavior of attackers. Due to developments in artificial intelligence, which support the speed of programming, the time required to create exploits is getting shorter every year. These tools are also becoming more complicated and allow for significantly greater possibilities for abuse. By 2026, the time to create such a tool should be less than one day (already surpassed). Next year, the time is estimated to be less than 1 hour. At this rate, next year, with the same trend, the time could be less than 10 minutes. In contrast, the interval between replacing cryptographic algorithms of 10 to 15 years is completely incredible. The transition to cryptography resistant to quantum computers is supposed to increase data security. New algorithms are being created for this purpose. They require deep knowledge of mathematics to understand their functionality, and this is where the last group of problems lies. First, there is the implementation problem, requiring the programmer to understand the principles of the algorithm and its limitations. Otherwise, the implementation is likely to suffer from problems that can lead to impacts on the confidentiality and integrity of the data. Today, the biggest problem is not the algorithm, but its implementation. Another, more hidden problem is the development of mathematics. The fact that we currently do not know the methods of attack against these algorithms does not exclude the possibility of finding a new vulnerability. The probability is low, but the possibility is still there. And owners must be prepared for the problems mentioned.
What does cryptographic debt actually mean? It is a situation where the updating of protocols, algorithms and other components of the system lags behind reality. That is, there is no management of the life cycles of cryptographic algorithms and key material. There is a lack of knowledge of the dependencies between components, or there is a lack of overview of components, i.e. insufficient inventory. Therefore, any reaction to changes is slow, measurable in months or years. The reason for the emergence of this debt is usually the costs of migration. This requires costs associated with assessing the situation, deciding on the extent of the impacts, all of which are added together with the costs of the change itself. The paradox of migration is a situation where the most frequent reason for postponing the decision on change is the requirement for backward compatibility with clients. After all, the client always pays for the operation of the organization. But in this situation, we actually do not protect all the clients, because we would not have to protect some of them. This is directly contrary to the principles of security. Insufficient updating of protocols and algorithms creates a larger "attack surface", an environment rich in targets. That is, it accepts a larger range of threats, reduced support and, under certain conditions, completely insufficient configuration options. The icing on the cake of the whole problem is the subsequent, almost exponential increase in migration costs. This can so-called concrete the organization in a non-updatable state.
However, insufficient development also brings a problem with knowledge. In such an environment, these usually fall behind reality. This is the extent of adequate knowledge among both responsible persons and users. The reason is simple. Using outdated algorithms that have limited ways of verifying the confidentiality, integrity and authenticity of data is not only a threat to the ability to protect data. It is also a threat to the development of knowledge, which threatens further evolution in the same way as a lack of finances. Insufficient knowledge leads to wrong decisions. And wrong decisions can cause the withdrawal of funds in the form of fines and penalties, or the loss of orders. In such a case, limited funds will become even thinner, or cash flow will be limited.
Eliminating this type of technological debt requires not only knowledge and considerable effort, but also corresponding financial costs. Since these are repetitive activities, it is advisable to support them with internal rules. However, the rules must be based on asset management and their monitoring. If the organization has visibility of individual components, knows their current configuration, and requires corresponding standardized sets of reports (Bill of Materials), costs can be significantly reduced thanks to simplified management.
A condition for the above approach is also a "polite" approach by manufacturers to cryptography. It should be separated by an abstract layer, completely independent of the system logic. Cryptographic modules should be easily interchangeable and should have standardized descriptions (CBOM – Cryptography Bill of Materials). Replacing support modules or changing the configuration should not be a job that takes several months or years, it should be a matter of minutes.
In addition to the above conditions, it is also necessary to address the issue of management in the organization. That is, who is responsible for migration, who bears the risk of technological debt, what roles are needed for this (cryptologist, architect, etc.) and what processes cover these changes. At the same time, it is appropriate to define a crypto policy that defines the life cycle of algorithms. The life cycle of key material and its security classification must also be described. This is therefore a certain formalization of procedures, which makes sense mainly in the case of larger organizations.
The continuation of the life cycles will address the measurement of cryptographic debt and the implications for managing and servicing this debt. This overview does not cover the life cycle of cryptographic material, nor the issue of migrating to quantum-resistant cryptography. These topics are covered in other articles.
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“).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.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.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.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.6. Complaints
6.1. If the participant is grossly dissatisfied with the course, the trainer is informed of this information.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.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.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.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.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.