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 problem with this type of technological debt is its measurement and reporting. How to actually approach it? The fundamental building block is Asset management, because "you can't secure something you don't know exists". Those who don't have it unfortunately have a problem managing their own IT and shouldn't even try to manage cryptography. Only based on the asset inventory can you tell what an organization's overview of its assets is. If the asset knowledge coverage is higher than 90%, it is a mature solution. If it is between 70% and 90%, it is a reasonable solution that, although it has its problems, can be worked with. If it is lower than 40%, the organization has a serious problem. And somewhere between 40% and 70% are organizations that have understood how important this knowledge is. For them, the main indicator is the trend, which determines the effort to address this problem.
The second part of such a construction is the measurement of the currency of cryptography, i.e. CFI (Cryptography Freshnesh Index). It is possible to paraphrase it with the rule “Do you have cryptography? And could I see it?” Here, both its affiliation to a certain area and the degree of compliance with standards are evaluated for each cryptographic asset. I note with current standards. Such a list can be prepared, for example, in the following way:
In the area of migration to PQC algorithms, the risk for key agreement algorithms (KEM) will be high in 2030 and for digital signatures (DSA) in 2035, and very high after. Nowadays, risk is "only" medium to high.
This is the sum of the risks for each component multiplied by the compliance of these components with the corresponding standards (according to legal weight, these are laws, norms or company policies). If the resulting status is between 90% and 100%, this is a modern setting, corresponding to current requirements. From 70% to 90%, this is an acceptable status, between 50% and 70%, a situation with significant risk. Below the 50% threshold, this is a high cryptographic debt and the organization has serious problems in solving it.
As an extension of these reports, the cryptoagility score (Cryptoagility Score) can be considered. Here, an evaluation is made of how quickly algorithms can be changed. This is a simplification of the representation of complex data into a single value. This is despite the fact that completely different environments are being compared. On the one hand, there are hardcoded algorithms that require months to years to change. On the other hand, the use of independent libraries separated by a transparent layer, which are controlled by configuration and changes are applied in seconds to minutes. Another expanding factor is the ability of cryptoagility to have centralized management, which allows this change to be handled in parallel on multiple systems, or even automated.
Where Si is the dimension score and wi is the dimension weight. A basic overview of dimensions can be considered in this way:
| Factor | Weight |
| Algorithm abstraction | 20 |
| HSM/KMS centralization and management | 15 |
| Key material rotation automation | 20 |
| Inventory completeness | 15 |
| Dependency visibility (SBOM+CBOM+RBOM) | 10 |
| Migration readiness (currently none/hybrid/PQC) | 10 |
| Automated certificate exchange | 5 |
| Externalize configurations (policies outside of code) | 5 |
A similar principle is used by metrics such as MTTR-C (Mean Time To Rotate), which measures the average time required to rotate key material or replace algorithms. Metrics such as DCE (Deprecated Cryptography Exposure), which determines the proportion of the volume of current versus outdated algorithms, take a different approach. Then there is CHS (Certificate Hygiene Score), which again measures the status in several dimensions. One of the dimensions is the ratio of certificate expiration time to the strength of their algorithms, another is the ratio of current algorithms to outdated ones, and so on. A rather interesting report is the Secret Sprawl Index, which measures the rate of uncontrolled spread of secrets in repositories and shared data (environment variables, asset records, containers, folders or files accessible to multiple users) compared to the number of CIs (Configuration Items). Ideally, all of these metrics should be part of regular reports, as they provide an interesting insight into the current state of this technology debt.
Where Tdetectioni is the time of problem detection and Tmitigationi is the time of completion of rotations, i.e. problem mitigation. The result is the average solution time, but to protect from distortion, it is necessary to convert the given data to a percentile.
DCE is a simple percentage of the obsolescence of the cryptography used. Nevertheless, the information provided has significant informative value. In addition, the calculation can be expanded to include a penalty for the type of obsolescence using weighted averages extended by impact coefficients. In such a case, for example, RC4 or MD5 algorithms can have a significantly higher penalty than, for example, SHA1.
Where Hi is the hygiene score and wi is the dimension weight. CHS is very similar to CAS, but in some areas in CHS individual calculation areas can be provided in the form of a percentage rating. Subsequently, the entire CHS rating is reduced by penalties caused by outdated algorithms, expired certificates, self-signed certificates or certificates without ownership. This penalization is controlled by rules that determine the impact of individual threats.
SSI (Secret Sprawl Index) is also an interesting view, especially in terms of the magnitude of the threat created by unauthorized users, programmers or administrators. With a certain degree of caution, this overview can also be included in the calculation of Cryptoagility Score.
Based on the technical assessment of life cycles, several limitations with an overall impact on security are obvious. Paradoxically, the biggest problem is the technical lifespan, i.e. the time for which the device is physically functional. Due to their design, most systems move into the zombie category after support ends. And because they continue to work, their security is usually not the goal, or expensive protection mechanisms are solved instead of a simple upgrade. A similar problem exists in the field of cryptography, where the exchange of protocols or algorithms can occur even after 10-15 years. Currently, thanks to artificial intelligence and the increase in attackers' abilities, it is possible to create attack tools in a matter of hours, and this value will continue to decrease.
There are several ways to solve such a situation. Starting with the decision on how to set the rules, through consideration of purchase, support, management and migration. An example is cars, as a commonly available technology. And why is this example so important?
Years ago, a car was purchased with a view to 5-10 years. Even today, the technical support of cars far exceeds the support for the most critical part. Electronics and communication systems are usually only supported for 5-8 years, and this part is currently critical. After this period, the value of the car drops sharply. The reason is the unavailability of repairs for navigation and communication systems. The car becomes a typical zombie solution and the question is how much sense it makes to operate it after this time. The question is also how big an impact this policy will have on the supply chain and the resulting accident rate.
So how should such a situation be approached? Ideally, a combination of the solutions listed below should be used.
As with all other components, it is not only possible, but even necessary for cryptography to think about regular changes and life cycles. This requires appropriate recording, measurement and management. Cryptography is only valuable if it protects us in an appropriate way. Therefore, each individual component must be able to provide evidence of security. If this is not possible, a compromised or threatening component must be quickly replaced with another. Trust has no place here - trust in a weakened or broken algorithm is an underestimation of the threat. If someone believes in such an algorithm, this trust usually has worse consequences than underestimating the consequences of deploying a new algorithm. All this leads to the need for cryptography management, i.e. crypto-agility.
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.