Innovative server-based method for management of confidential data
The server-based method using an authenticator client and asymmetric key pairs addresses the balance between security and user-friendliness for secret data management, offering flexible authorization and sharing, and enhancing the user experience by ensuring secure and cost-effective access across devices.
Patent Information
- Application Number
- PCT/EP2024/058675
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-03
AI Technical Summary
Current methods for managing secret data, such as passwords, face challenges in balancing security and user-friendliness, often relying on master passwords that can be compromised and lacking two-factor authentication, while also being inflexible and costly for widespread use across multiple devices and applications.
A server-based method using an authenticator client to control and encrypt secret data, allowing multiple devices to access it securely without sending unencrypted data, employing asymmetric key pairs and profiles for flexible authorization and sharing, with two-factor authentication through a mobile phone, ensuring secure and user-friendly management.
This approach provides secure, user-friendly, and cost-effective management of secret data across any device, ensuring the security and integrity of data stored on servers, with flexible authorization and sharing capabilities, enhancing the user experience similar to Single Sign-On solutions.
Smart Images

Figure EP2024058675_03102024_PF_FP_ABST
Abstract
Description
[0001] INNOVATIVE SERVER-BASED METHOD FOR MANAGING SECRET
[0002] DATA
[0003] TECHNICAL FIELD
[0004] The present invention relates to a computer-implemented method for the secure management of secret data on a server and the secure use of the secret data by various application clients. Through cryptographic encryption of the secret data and the authorization of all application clients using an authenticator client, the user retains full control over the secret data available on the server at all times, while simultaneously ensuring a high level of user-friendliness in using the secret data. The method does not require a master password and includes two-factor authentication.
[0005] The present invention also relates to a system, a server and three computer program products A, B and C for implementing the method according to the invention.
[0006] STATE OF THE ART
[0007] The use of usernames and passwords is a widely used method of authenticating a user attempting to access a web application or computer-implemented application. A password is set by the user, at least during initialization, and must be kept secret. If the password is displayed, intercepted, or accessed unencrypted by a potential attacker, can be guessed, or calculated, the security and integrity of the data, applications, and user profile are compromised.
[0008] At the same time, the number of user accounts in various applications is growing, and users are trying to secure them with passwords. This creates a conflict between IT security and user-friendliness. If all access points are secured with the same password, a single point of failure results, and the problem becomes extremely serious if that password is broken. If passwords are chosen too simple and easy to remember, they can be guessed. If they are too short, there is an opportunity to guess the password using brute force methods. If a user stores their passwords centrally and unencrypted for increased user-friendliness, an attacker can compromise this directory.
[0009] Traditional password managers attempt to solve user-friendliness problems with a master password. All password data is stored centrally, and access is granted via the master password. However, such systems reveal clear disadvantages in IT security. The master password, as a single point of failure, is a lucrative attack vector for attackers. With offline password managers, it can be determined using brute-force methods if the master password is not long and strong enough. Studies reveal that users are often unable to generate and remember a sufficiently long and strong password without revealing it in plain text as a reminder. Furthermore, keylogging or other malware can be used to spy on the master password, or phishing or similar methods can guide the user to enter their master password in the wrong place.
[0010] In terms of user-friendliness, traditional password managers are generally suboptimal as they require the regular entry of the master password, which should be as strong as possible.
[0011] Traditional password managers typically offer two-factor authentication (2FA), but users often rely solely on their password. 2FA means that authentication must be performed using a second method, such as confirming a login by entering an SMS code in addition to the password. This can be advantageous for the user by combining factors that a user remembers (e.g., password) with those that a user possesses (mobile phone, biometric data). 2FA is generally recommended for important access and could prevent numerous security gaps caused by authentication being circumvented.
[0012] An alternative way to use and store passwords is with cloud-based, centralized password management solutions, such as those offered by Google or Apple for client browsers. Access to passwords is secured, for example, by an existing account with the respective provider. This provides user-friendly features such as synchronization across all client devices on which a user is logged in. Furthermore, server-based password storage can relatively easily prevent brute-force attacks by controlling the frequency of login attempts.
[0013] Nevertheless, such solutions rely on access to the respective user account and thus via a master password and do not necessarily require 2FA. Depending on the method, the encryption of password data on the server is not always controlled by the client devices. If the encryption of the server-side password data has already been performed by a client device, there is no guarantee that the key material for decryption is stored securely locally, for example, on a security chip. Centralized access management, password sharing, or individual management of individual devices within a user account and their access rights are generally not available.
[0014] Another option for using and storing passwords is Single Sign-On (SSO). SSO offers users easy access to all of their authorized services and applications through a single authentication. SSO is widely offered as a Software-as-a-Service (SaaS) model. Password managers such as those described above can be seen as an example of a local SSO system, where a local client, with which a user authenticates, automatically fills in all access data. Other common SSO methods include a single portal, which in turn handles login for other services and applications, or ticketing systems, which transmit proof of user authentication within a trusted circle of services or applications, thus enabling login for all services and applications.
[0015] One disadvantage of SSO procedures is the inexhaustibility of the services and applications that must be integrated into the procedure. For example, in ticketing systems, the circle of trust must be extended to as many services and applications as possible in order to achieve a high degree of user-friendliness. A user cannot be sure that, for example, every web application will be supported by the SSO procedure. In particular, SSO procedures that are highly user-friendly due to the integration of many services and applications are generally expensive. Sharing access data is also generally not provided for in SSO procedures. Furthermore, depending on the initial authentication, SSO procedures are not necessarily free of a master password.
[0016] Passwords aren't the only data in the digital environment that needs to be kept secret. Credit card details, for example, are often used in online shopping. Sensitive personal data such as addresses and contact details should also be protected. In principle, the list of potentially confidential data that needs to be protected is expandable by a user. This could include essentially any data type, especially confidential notes or image data.
[0017] Regardless of the authentication and access management method, secret data such as passwords must generally be transmitted and stored in encrypted form. Cryptographic methods are suitable for this purpose. Such methods not only aim to encrypt data, but also serve to ensure its integrity and origin. One known method for ensuring data integrity is a method in which a hash value (also called a checksum) is calculated from the data. This involves using a hash function. Such a hash function is provided, for example, by the Secure Hash Algorithm (SHA). With a hash function, a data block that is not necessarily limited in size can be mapped to a data block of fixed size, the hash.A typical hash length, for example, is 256 bits. A desirable property of a good cryptographic hash function is injectivity and the resulting collision resistance, meaning that the hash function always maps different input data to different hashes. When the sender of the data calculates its hash value and provides this hash value to the receiver, the receiver can verify the authenticity and integrity of the data, provided the hash value itself is genuine and reliable.
[0018] However, the hash method has the disadvantage that the method is completely invalidated if the hash value itself is tampered with during a man-in-the-middle attack. Man-in-the-middle attacks can be largely avoided if both parties exchange certificates during communication between A and B and communicate which certificates they expect. This prevents an attacker from tampering with the communication. This process is called certificate pinning.
[0019] A certificate is a data set that confirms the characteristics of a person or device and whose origin and integrity can be cryptographically verified. Certificates based on asymmetric cryptographic methods, also known as public-key or public-private-key methods, are widespread. They are used, among other things, for digital signatures. With asymmetric cryptographic methods, a holder has a key pair consisting of a public and a secret (or private) key. Using a unique cryptographic function, the holder calculates a certificate or signature for a specific message or its unique hash. Any recipient can use a mutual cryptographic function to calculate a certificate or signature from the public key published by the holder and the certificate or signature.The signature can be used to reconstruct the message or its hash and, by comparing it with the actual (unencrypted) message, to unequivocally verify the authorship of the owner and the integrity of the message. For example, by sending a certificate to establish contact, a device can authenticate itself against a web application or server by verifying ownership of the private key, which in turn was issued to the device, for example, by a trusted third party.
[0020] Asymmetric cryptographic methods can also be used to encrypt data so that the original data cannot be viewed in plaintext by third parties. The data is encrypted by an actor in the system using the public key of an asymmetric key pair and cryptographic algorithms. The secret key is known only to the actor authorized to decrypt the data and should not be shared but stored securely. The resulting encrypted data set can only be decrypted using the corresponding secret key, i.e., only by the corresponding actor.
[0021] In the alternative symmetric encryption, however, data is encrypted with a single cryptographic key. It can only be decrypted using the same key. The advantage of symmetric encryption is that the process is relatively simple, efficient, and fast. The disadvantage of symmetric encryption is that it requires all trusted parties who are authorized to view the data to know the key, since both encrypting and decrypting data requires knowledge of the same key. At the same time, it must be ensured that only these parties have knowledge of this key. This gives rise to the problem of so-called key exchange via a potentially insecure digital
[0022] Communication channel for initiating an encrypted data exchange between multiple parties.
[0023] The algorithms or functions used to generate cryptographic keys from, for example, a sequence of random numbers must meet specific requirements. Not only must the secret key be capable of decrypting the message encrypted using the public key, but it must also be impossible, or virtually impossible, to derive the secret key from the public key of an asymmetric key pair. To meet these requirements, various cryptographic systems exist with different one-way functions, such as the SHA described above. It has not been mathematically proven that these one-way functions cannot be reversed in asymmetric encryption methods by an attacker with sufficiently high computing power, meaning that a private key cannot be derived from the public key.Theoretically, symmetric encryption, such as the one-time pad, offers even greater security than asymmetric encryption. A constantly evolving state of the art and the use of widely respected open-source standards for the underlying cryptographic systems and functions, such as Curve25519 for asymmetric encryption, are one approach to ensuring a high level of security.
[0024] Transport Layer Security (TLS) is a cryptographic protocol for securing communication in networks. TLS is an example of a widely respected standard that is maintained at the cutting edge of technology in various versions. TLS includes, among other things, methods for creating and using symmetric and asymmetric cryptographic keys, creating digital signatures, exchanging keys over insecure channels, and authentication.
[0025] Below, some concrete approaches from the state of the art are described to provide procedures for secure and user-friendly management of secret data, usually related to password data.
[0026] US10893045B2 discloses a method in which only specific end devices are allowed access to data, including on a server, by creating a session on the server using a unique ID of the end device. Furthermore, an authenticator can be used to allow or deny access from end devices by authenticating the user with a second factor. However, the server does not store explicit password data, but rather arbitrary data, and access to the data is achieved using a master password. The encryption method of the server-side data is controlled by any end device in the method. Thus, the method is suitable as a secure data storage system, but not as a password manager without a master password.
[0027] US9590959B2 also discloses a method in which a user's access request to a database service is authenticated by a cryptographic service. Various cryptographic methods are provided to prove the authenticity of the request or the user. Implicitly, this method can be understood as authentication for a server-based password manager with additional functions. However, no 2FA or a more specific encryption technique for potential password data stored in the database is disclosed.
[0028] US8589442B2 discloses a single-sign-on system that operates according to a decentralized principle. A user's login credentials on one device can also be used on other devices by authenticating unique device IDs of all authorized devices with a mapping algorithm. However, this method does not disclose 2FA for individual logins. US10341334B2, on the other hand, discloses a single-sign-on solution in a portal variant, where a user logs in once to several associated websites using a master password. The associated logins and passwords are stored on a web server, encrypted using the master password. 2FA is not disclosed here either.
[0029] US8904180B2 discloses a method and system in which encrypted data on a device is stored separately from the key material for decrypting the data on a server. Access to the key material on the server is achieved by querying a client device by sending a signed one-time key, whereby the signature can be authenticated by the server or a third-party service. The server then provides the key material, encrypted with the one-time key, to the client device. By using two-part symmetric keys to encrypt and decrypt the secret data, which is stored on a client device and additionally on the server side, a possibility for 2FA is disclosed, which would also be implicitly conceivable with a smartphone as a second factor. However, the patent does not disclose any methods for the controlled authentication of other, trusted clients.Furthermore, the encryption of the access data on the server is not controlled by the client or an additional device. Instead, the access data is encrypted either with an additional master key on the server or as a "key bag" on the client, so that the server only provides authentication. This eliminates either the advantage of having control over the security of the access data against attacks on the server or the advantages of storing it on the server.
[0030] US20080031447A1 discloses a method for securely storing website passwords and usernames on a server. The invention discloses encrypted storage, with data decryption only possible with a client's key material, thus making the data on the server unassailable. However, the method does not disclose 2FA and requires a master password from the user.
[0031] US20220209955A1 discloses a method for enabling a secure log-in process even under offline conditions, wherein a server provides various services, such as regularly changing passwords and user authentication. The invention discloses two variants for storing password data: online and offline. While the online variant discloses that a client must authenticate using an additional device as a second factor, it is not clearly disclosed that the password data on the server is permanently encrypted using key material controlled by a client and thus cannot be attacked. Furthermore, the second factor or authenticator is not capable of controlling the linking of other clients in the sense of a password manager. In the offline variant, however, the keys are stored encrypted on the client, not on a server.
[0032] US9727715B2 discloses a method that also includes a server and a password management application. Password data is encrypted with an asymmetric key associated with a client, stored on the server, and can be retrieved when visiting the associated website. The private key on the client is in turn encrypted using another key generated from an authentication mechanism, allowing 2FA to be achieved. However, this second factor does not have to be an additional device and is not configured to manage the available clients in the sense of a password manager. In this invention, the client is the owner of the first key; multiple clients cannot be managed by a trusted second factor, for example, a mobile application.
[0033] US10491588B2 discloses a method in which a password management server acts as an authenticator to establish the connection between a device and a secure password database. The method also includes the automatic completion of password forms on the device by a web application. However, because the server acts as an interface, a connection must always be established between the server, the device, and the secure password database, thus combining the disadvantages of local and cloud-based storage. A master password is also required.
[0034] EP2332114B1 and US9948648B1 disclose methods for automatically filling in and generating password data in web applications. However, these methods do not specify secure control and storage of the password data.
[0035] EP3420677B1 also discloses a method for password-free pairing of two client devices through communication via a server. Secret material for secure authentication is exchanged between both clients in an encrypted manner using asymmetric key pairs, and the pairing is stored on a server. The exchange of information via asymmetric encryption is simplified by scanning QR codes from one client to the other. The sharing of login data such as passwords between the clients is disclosed, but no server-based password manager or primary control of the password data by a client is disclosed.
[0036] The security whitepaper v1.4 from heylogin GmbH describes a method that provides password-free management of confidential data in a user-friendly manner. This method allows confidential data to be securely stored on a server and encrypted using flexible client devices. However, the method does not disclose any way to manage user-based permissions to the confidential data or to exchange access, as each encryption of confidential data is permanently assigned to a specific device.
[0037] TASK
[0038] It is therefore the object of the present invention to provide a method for the secure storage, use, and management of secret data, such as passwords in particular. The user should not have to accept any loss of time or security due to remembering and entering secret data, particularly as a single point of failure. Instead, user-friendliness similar to an SSO solution should be provided. However, the user should be able to manage the secret data for any web application and on any of the devices they use easily, efficiently, and cost-effectively. The security and integrity of all secret data on servers exposed to the Internet should be ensured and controlled via the user's devices. Furthermore, the authorizations to access the secret data should be flexibly assigned and assigned to users and shareable between users.
[0039] SOLUTION
[0040] The problem is solved by a method having the features of claim 1.
[0041] Further advantageous embodiments and developments emerge from the subclaims and from the description with reference to the figures.
[0042] GENERAL BENEFITS
[0043] Advantageously, an authenticator client controls the use of the secret data, the devices used to use this secret data, and the underlying encryption of all secret data. The secret data is stored on a server so that multiple devices can access it, which provides an advantage in terms of the user-friendliness of the invention. On the server, all secret data is stored exclusively in encrypted form, with keys that are only available on the user's devices. The devices never send secret data in unencrypted form to the server, so the server is used only as a data store and communications proxy. However, the server allows centralized access to the secret data and its use with various devices, as long as the user authorizes this using the authenticator client. All communication between the user's devices takes place over encrypted channels.By using a mobile phone with access protection as the authenticator client, the process is inherently protected by 2FA, while the authenticator client can also easily manage the secret data and authorizations of other devices.
[0044] DETAILED DESCRIPTION
[0045] The invention is described in detail below. The present invention is explained in more detail without limiting the invention to these descriptions. Where the term "can" is used in this application, it refers to both the technical possibility and the actual technical implementation. The singular includes the plural unless the context clearly indicates otherwise.
[0046] In particular, the term "key pair" implies an asymmetric key pair comprising a private and a public key. The term "client" refers to both an authenticator client and an application client with its application client extension.
[0047] The inventive method is based on three basic steps (S01) to (S03). In step (S01), a push authenticator is initialized on an initial authenticator client. The authenticator client can be seen as the core of the inventive method on the user side, since this authenticator client controls any storage and use, as well as any addition of further clients, in the method described below. The push authenticator is a system of cryptographic keys of the authenticator client, which, in combination, allow the inventive method described below to be implemented in software, while the authenticator client describes the hardware device itself that is used for the inventive method. The initial authenticator client is described as initial because it can be replaced, e.g., if the device is lost.
[0048] Initializing the push authenticator on the authenticator client involves, in a first sub-step of S01), generating at least two asymmetric key pairs: a login key pair consisting of a private login key and a public login key, and an encryption key pair consisting of a private encryption key and a public encryption key. For generating and storing asymmetric cryptographic keys, a key element designated for creating and storing cryptographic keys is preferably used. A modern smartphone is preferably used as the authenticator client, as such key elements are standard equipment for their biometric functions, among other things.Such key elements are advantageously designed to be particularly resilient against cyberattacks and physical attacks, thus providing particularly good protection for private keys. Curve25519 is particularly preferred for generating asymmetric keys, which is favorably recommended in the TLS 1.3 protocol.
[0049] The two public keys are stored on a server in a second sub-step of S01). By possessing the private login key, a client can authenticate itself against the server. In this method, the login key can be viewed as a login to an account for the inventive method; however, this is not dependent on knowledge of a master password, but rather on possession of a device, the authenticator client. For such an authentication process, it is preferred to create a signature for a message that is sent when the client contacts the server, using the private login key. By checking the signature using the public login key, the server can verify that the message actually comes from a client that is in possession of the private login key.A cryptographic method described in the TLS protocol is particularly preferred for the authentication process. The server can use the public encryption key to encrypt data so that only the owner of the private encryption key has access.
[0050] In step S02), the now existing push authenticator is used to connect additional clients to the server, which can retrieve the secret data stored for this account. These clients are referred to as application clients.
[0051] This process of coupling such an application client is authorized in a first sub-step of S02) by the authenticator client, which exchanges at least its private login key in encrypted form with the application client. This encrypted transmission is preferably carried out using asymmetric encryption. A preferred embodiment of the encrypted transmission is described later in the description. In a second sub-step of S02), the application client uses the private login key to authenticate itself against the server in the manner already described.
[0052] In a third sub-step of S02), a session is created on the server for the application client by the authenticated application client storing the public session key of a session key pair generated by the application client on the server. This public session key can be used to encrypt data to which only this application client has access using its private session key. Creating a session requires that the application client comprises a computer program product configured to generate an asymmetric cryptographic session key pair. A computer program product that offers, among other things, this functionality is part of this invention and will be described later in the description.In a preferred variant, software functionality for generating cryptographic keys is provided on the application client by an application client extension described below. In a particularly preferred variant, the application client also uses a key element for securely storing the private keys, in particular the private encryption key and the private session key, that it possesses.
[0053] Step S02) can be repeated to link multiple application clients using the authenticator client. In a preferred embodiment of the method, all linked clients or their sessions are displayed in list form on the authenticator client. In a particularly preferred embodiment, the method is configured for an option for the authenticator client to control the sessions of application clients, delete the public session keys from the server, and thus remove the session on the server side. In this variant, any contact by the application client without a session with the server is rejected by the server. In a particularly preferred variant, the application client is configured to delete any keys it possesses in the event of rejection by the server.This advantageously prevents the long-term and therefore unnecessarily risky storage of private keys on unauthorized devices. In a further preferred variant, the application client retrieves the status of its session from the server at regular intervals, so that the private key material is deleted from the authenticator client at this point at the latest when the session no longer exists. In a particularly preferred embodiment, the session status is retrieved for the first time by the application client immediately upon launch of the application client extension. In another particularly preferred variant, the time interval can be configured and is also dependent on the security requirements of the application client.For example, if no key element is installed in the application client and the application client is connected to a potentially dangerous public network, the time interval for retrieving the session status can be set to a particularly short time, for example, 1 second. In another preferred variant, a client cannot see that its own session no longer exists without contacting the server, which deletes the key material. This advantageously prevents an attacker from being incentivized to delay deleting the session. In another preferred embodiment, authenticator clients also each receive a session on the server, so that multiple authenticator clients of a user can be advantageously initialized, but also controlled from another authenticator client.
[0054] In step S03), the initialized authenticator client and the coupled application client are used to store or retrieve secret data by the application client on or from a vault located on the server. A vault is a data packet on the server's storage medium that is assigned to an account and, as described below, is cryptographically encrypted. In a preferred embodiment, the vault contains an ordered list of submissions that map the chronological order of the stored secret data, so that all secret data is clearly sorted and assigned. In principle, multiple vaults can exist for an account, which can be encrypted differently.
[0055] Secret data in the safe preferably includes login data for web applications, i.e., usernames, email addresses, and passwords. According to the invention, other secret data can also be stored in safes, such as payment and credit card information or addresses. In a further version of the safe, other user-defined data types, such as free text for secret notes or image data, can also be stored.
[0056] In a first sub-step for the purpose of storing and retrieving secret data (step S03), the vault containing secret data is encrypted using a symmetric key. In the case where multiple push authenticators are to have access to the vault, this encryption advantageously eliminates the need to encrypt multiple copies of the vault for the different push authenticators. Therefore, it makes sense to always have exactly one symmetric key for a vault.
[0057] Since decryption with symmetric encryption also occurs using the same symmetric key, this key must also be encrypted, as it is to be stored on the server to allow authorized access to the vault. This encryption occurs in a second substep of S03) using the public encryption key of the push authenticator, so that only a client that possesses the private encryption key can access the symmetric key and thus the vault.
[0058] In a third sub-step of S03), the storage and retrieval of secret data from the safe is authorized by the application client. This is done by the authenticator client, which provides the private encryption key in encrypted form to the application client so that the application client can retrieve the private encryption key and decrypt the safe. This encrypted provision of the private encryption key is preferably authorized by an active input on the authenticator client by a user. In one possible embodiment, the encrypted provision or retrieval is realized by the authenticator client encrypting the private encryption key using the public session key and sending it to the application client via the server. Only the application client can decrypt this transmission.In a further variant, the private encryption key is transmitted to the application client together with the private login key in step S02). In a preferred embodiment of both transmission variants, the private encryption key cannot be stored by the application client in persistent memory, so that the authenticator client must confirm each individual storage or retrieval, and the private encryption key advantageously cannot be stolen in the event of a physical attack on the application client while it is switched off. Further preferred embodiments for authorizing storage and retrieval by providing the encryption key by the authenticator client emerge from further described preferred features of the invention.
[0059] Advantageously, through this configuration, the authenticator client controls the authorized clients, particularly in step S02), and any access to the secret data in step S03. Furthermore, the authenticator client is advantageously used as a second factor for an attempt by the application client to retrieve secret data. In a preferred embodiment, the authenticator client requires the activated use of a device protection function, for example, biometric authentication. This advantageously ensures that 2FA protection is fully achieved through the user's possession of a device (authenticator client) and a query of the user's secret (e.g., biometric authentication). This authentication of the user on the authenticator client is standard nowadays, especially when using a modern smartphone, and is recommended regardless of the method for managing secret data.In this respect, this measure is advantageous not to be seen as additional effort, as other 2FA methods are usually seen.
[0060] As already described, in a preferred embodiment of the invention, a smartphone is used as the authenticator client, which has a key element. Furthermore, the authenticator client preferably has user input options for authorizing steps S02) and S03).
[0061] In a special embodiment, an authenticator client is used simultaneously as an application client. In this case, the computer program products that implement the features of the method on the authenticator client and the application client, respectively, are installed and executed separately. For example, the features of the method belonging to the authenticator client are executed in a mobile app, while the features of the method belonging to the application client are executed in a web application accessed via the browser. Particularly preferred in this case is the embodiment in which the use of the push authenticator within the mobile app requires a protective function of the smartphone when opening the mobile app, thus advantageously ensuring 2FA when using the device.
[0062] The method according to the invention further comprises the use of at least one profile as an indirection level of the authenticator client, in addition to the initialized push authenticator. A profile is essentially technically equivalent to a push authenticator, with the difference that a profile does not have its own login key to authenticate against the server. Instead, in a standard embodiment, instead of at least one push authenticator, a profile encrypts the symmetric key of at least one safe with a public profile key of an asymmetric profile key pair created on the authenticator client. The profile, and thus in particular the private profile key, is then encrypted on the server side in this standard embodiment using the public encryption key of the associated push authenticator.A profile includes at least the profile key pair, but further descriptions will describe additional keys belonging to the profile, which are also encrypted by the public encryption key of the associated push authenticator.
[0063] This configuration of default and preferred encryptions explains the concept of a profile as an indirection layer, which means that the profile acts as an additional layer between a push authenticator and a vault in the encryption process of a vault. The profile is thus controlled by this push authenticator and thus by the authenticator client. At the same time, the profile controls access to vaults encrypted with its profile key pair. The technical effect is an additional layer of encryption, allowing a wide range of encryption variants to be implemented between push authenticators and vaults.
[0064] The wide range of encryption variants results in a number of advantages regarding the flexibility of the entire inventive method. On the one hand, there is an advantage regarding the clarity and clarity of the encryption method, which can also be referred to as "key hygiene." Profiles allow separate keys to be created in profiles for separate contexts, for example, in profiles for private use and for corporate use. Profiles can be viewed completely independently of one another, since there are no dependencies between random profile seed values or profile keys of profiles, or between profiles and push authenticators. Taken further and more specifically, this key hygiene advantageously allows for the creation of meaningful roles and assignments within the inventive system.
[0065] For example, in a preferred embodiment, a user is assigned a profile per organization or context, in which all access rights for that user can be collected. Profiles advantageously allow for the flexible implementation of authorizations on a user-specific or other basis. Furthermore, profiles allow, for example, the implementation of a superadmin profile, which can encrypt all of an organization's vaults and is thus a prerequisite for the possible assignment of administrator rights for managing confidential data, but also for preventing the loss of confidential data due to key loss.
[0066] The use of profiles is also fundamentally advantageous with regard to the crypto-agility of the invention or the organization using the method according to the invention. For example, cryptographic procedures can be gradually converted or updated. This allows for a basic level of security against specific threats to be established with minimal effort, without, for example, having to re-encrypt each individual safe. This represents a flexibility advantage over the use of exclusively direct encryption of safes using push authenticators.
[0067] In a preferred embodiment, any key material associated with a profile is created from a random profile seed. In this preferred embodiment, encrypting a profile, e.g., using the encryption key of the associated push authenticator, means encrypting the random profile seed.
[0068] In one embodiment, each user per organization or context is assigned not only one profile for encrypting safes, but also at least one additional profile, which serves for the fully encrypted reception of messages and information and / or for storing preferences and settings regarding the use of the method according to the invention, for example, the time until a session is automatically closed. Advantageously, further functions can thus be implemented in the same encryption architecture in addition to storing and retrieving secret data.
[0069] In one implementation variant of a profile, several identical copies of the profile are encrypted on the server side using the public encryption keys of multiple push authenticators. This implementation variant allows multiple push authenticators, especially those of multiple users, to access a profile. The advantage here is increased flexibility in managing and modifying authenticators. A profile can be encrypted using any number of authenticators. For example, hardware security devices can be added or removed as additional or backup authenticators. The entire set of authenticators of a user or multiple users can thus be flexibly rotated with respect to their profile. This is also advantageous for a more secure backup and recovery strategy, as it reduces the likelihood of total loss of key material.
[0070] In another profile implementation, multiple profiles are encrypted with the same public encryption key of a push authenticator, allowing one push authenticator to access multiple profiles. This implementation can advantageously be used to implement a push authenticator as a master device for specific applications where comprehensive access should depend on specific devices rather than users or profiles.
[0071] In another embodiment, a profile is encrypted using the public encryption keys of multiple push authenticators simultaneously, so that these multiple push authenticators are required simultaneously to access the profile. This variant is preferably used only for particularly sensitive secret data that requires a high level of security or whose management requires the consent of multiple users. This advantageously creates a digital dual-control principle for access to this profile. In a further preferred embodiment following the introduction of profiles, the symmetric key of a safe is encrypted using one or more different public profile keys or public encryption keys from multiple profiles or push authenticators.The symmetric key can be encrypted using the public keys of multiple profiles, multiple push authenticators, or both profiles and push authenticators.
[0072] In one embodiment, a symmetric key can be encrypted simultaneously using the public keys of multiple profiles or push authenticators, so that these multiple profiles or push authenticators are required to access the symmetric key. This variant is preferably used only for particularly sensitive secret data that requires a high level of security or whose management requires the consent of multiple users. This advantageously establishes a digital dual-control principle for access to secret data.
[0073] In an alternative, preferred embodiment, multiple copies of the same symmetric key can be encrypted using the public keys of multiple profiles or push authenticators, allowing these multiple profiles or push authenticators to access the symmetric key independently of one another. Advantageously, this allows the profiles or push authenticators to access a vault independently of one another.
[0074] As already described, multiple vaults can be created for an account, so that conversely, a profile's public key or a push authenticator's public encryption key can encrypt multiple different symmetric keys belonging to different vaults.
[0075] Through these possible implementation variants, for example (but not preferred), a single push authenticator and two profiles can gain access to a symmetric key, with two different additional push authenticators having access to each profile. This would give a total of five different push authenticators access to the associated vault. In another possible, but not particularly preferred, implementation variant, for example, a push authenticator can have direct access to the symmetric key of a vault and to a profile, with the profile also having access to three additional vaults. This would give one push authenticator access to a total of four vaults.
[0076] Profiles are advantageous as an indirection layer for push authenticators because they provide flexibility for access permissions to secret data. Access to a vault is no longer necessarily tied to a user and their (initial) authenticator client. Instead, in a preferred embodiment, a user can share access to a vault via a profile with other push authenticators on other users' authenticator clients. To share access to a vault via a profile, in a preferred embodiment, a sharing authenticator client encrypts this profile with the public encryption key of a push authenticator registered with the server of another, receiving authenticator client by retrieving the public encryption key from the server.The sharing authenticator client then saves the encrypted profile to the server, allowing the receiving authenticator client to retrieve the profile, which is readable only by that client. Profiles thus provide a solution for secure, fully encrypted account sharing, where access to the secret data, but not access to the account itself, is shared via the push authenticator itself. This feature is particularly advantageous in small teams with specialized tasks in the work environment.
[0077] In a preferred embodiment, two profiles are used sequentially, with at least a first profile being encrypted directly by the public profile key of the profile key pair of at least a second profile. By implementing two sequential profiles, certain authorization chains can advantageously be implemented even more simply and, from a key hygiene perspective, even more cleanly. For example, a user can temporarily take over access to secret data or access data from another user without the profiles or authenticators assigned to the other user being changed. Instead, only an encryption of a profile of one user with a profile of the other user needs to be created and sent to the profile of one user. For example, a parent or guardian can temporarily take over access to a child's access data.In another application example, access data of an employee leaving an organization can be transferred securely and easily to a new employee.
[0078] The direct encryption of at least a first profile using the public profile key of the profile key pair of at least a second profile means that no further intermediate steps are introduced, such as separate safes for storing specific profiles. This embodiment is less computationally and memory-intensive. Advantageously, the encryption of profiles becomes more efficient and, from a key hygiene perspective, simpler and more transparent.
[0079] In a particularly preferred embodiment of the sequential insertion of two
[0080] In profiles, the random profile seed of the first profile, from which its key material can be generated, is directly encrypted using the profile key pair of the second profile. The profile seed contains all the necessary information of the profile, thus eliminating the need to encrypt multiple individual keys.
[0081] In a particularly preferred embodiment, two profiles are used sequentially in such a way that a comprehensive authorization structure for at least one administrator of an organization's secret data is advantageously cryptographically implemented. The first profile encrypts all vaults belonging to an organization, and at least the second profile is managed by the push authenticators of an administrator of the organization. The first profile technically assumes the function of a super administrator and can advantageously prevent unwanted loss of access to vaults by automatically encrypting each vault using this profile, preferably automatically. At least one, but preferably all, user profiles of administrators of the organization have access to this profile.If an administrator authorization is to be revoked, the encryption of the first profile can be easily deleted using the second profile of this administrator, so that the second profile is no longer able to decrypt the first profile.
[0082] In a particularly preferred embodiment of the sequential use of two profiles to implement an authorization structure for at least one administrator of an organization's secret data, the organization's administrator is able to delete all encryptions of their organization according to method step S03), replace them with placeholders, and generate new ones. This embodiment allows an administrator to revoke profiles of specific users, specific push authenticators, or specific encryptions (and thus access authorizations). Advantageous use cases for this include the onboarding and offboarding of employees of an organization, the creation and revocation of specific (administrator) authorizations, and the blocking and restoring of access in the event of loss or replacement of devices that can be used as push authenticators.
[0083] In a particularly preferred embodiment, the organization's administrator is able to resolve an encryption and thus the corresponding access authorization as follows. The encryption of a profile or the symmetric key of a vault is deleted. If a profile is encrypted, the profile continues to be used as a free profile, using placeholders as encryption keys. Upon return or transfer of the profile, new encryption keys are created, and the keys or profile seed are encrypted and sent to the push authenticator of the new, replaced, or returning user. This advantageously allows for the initiation of a flexible and secure onboarding process.It is particularly preferable for a new push authenticator to regenerate the keys of his newly assigned profile after onboarding, so that, from a data protection perspective, only he, and no longer the administrator, has access to them.
[0084] In a preferred embodiment of the method according to the invention, a safe comprises a sensitive data area and a metadata area. The sensitive data area is additionally encrypted within the safe using a symmetric high-security key. This means that access to this sensitive data area requires both the symmetric key for decrypting the entire safe and the symmetric high-security key for decrypting the sensitive data area. The symmetric high-security key is, in turn, encrypted with a public high-security key of an asymmetric high-security key pair of a push authenticator or a public profile high-security key of an asymmetric profile high-security key pair of a profile.
[0085] In a preferred embodiment corresponding to the use of the inventive method as a password manager, secret but not highly sensitive data such as user names and email addresses can be stored in the metadata area, while the associated passwords and other secret data such as answers to security questions are stored in the sensitive data area. In an alternative application of the inventive method for online commerce, for example, billing addresses could be stored in the metadata area, and credit card information could be stored in the sensitive data area.
[0086] Access to a second area containing more sensitive data can thus be gradually determined by accessing, or lacking, the private high-security key or the private profile high-security key. The high-security key pair or the profile high-security key pair each belongs to a push authenticator or profile and is generated on the corresponding authenticator client, along with the key pairs already described for a push authenticator or profile, and the respective private key is stored there.
[0087] In a particularly preferred embodiment, the high-security key pair and the profile high-security key pair cannot be stored on a client's permanent memory. Permanent memory is memory that makes data available even after the power supply is turned off. This means that a client only has these keys available in a working memory, at most until the next power-off of this client. After that, they must be retrieved again. To ensure that access to these keys is not lost in this embodiment, this generation must be reproducible at least on the authenticator client that generated the high-security key pair or the profile high-security key pair. For this purpose, generation from a random seed value that is stored is preferably suitable. Such a seed value will be described in more detail later in the description.
[0088] The non-permanently storable version of the private high-security key or private profile high-security key ensures that an application client never has permanent access to the sensitive data area of the vault. Instead, this access always depends on the authenticator client generating the private (profile) high-security key from the random seed or retrieving it. This ensures that the authenticator client controls access to the sensitive data area not only when connecting application clients, but at all times.
[0089] In a further preferred variant, the login key pair of an authenticator client cannot be stored permanently, so that no application client can permanently log in to the server. This advantageously allows access to the account to be permanently controlled via the authenticator client.
[0090] In a preferred embodiment of the use of access control for a metadata area and a sensitive data area of the safe, a linked application client can be set to an open or closed state, granting or denying this application client access to the private high-security key. This advantageously allows this application client's access to the sensitive data area to be regulated, whereby an application client in the open state is granted access, while an application client in the closed state is granted access only to the metadata area. This regulation, or setting the application to the open or closed state, is performed by the authenticator client.In a particularly preferred embodiment, switching to the open or closed state is achieved by switching a binary switch within a mobile application, whereby the mobile application displays such a binary switch in a list for each connected application client. Furthermore, these binary switches for setting the state are preferably displayed within the previously described list overview of all clients on the authenticator client.
[0091] In a particularly preferred embodiment of controlling the open or closed state of an application client, the state is determined by the existence of the high-security key or profile high-security key encrypted with the application client's public session key in an application client session on the server. If such an encrypted high-security key exists, only the application client that has the private session key can decrypt this high-security key and use it to access the safe. The authenticator client associated with the high-security key can change the application client from the open to the closed state by removing this key from the server.
[0092] The ability to place an application client in an open state can increase the efficiency of retrieving and storing secret data for a highly trusted device. The ability to place an application client in a closed state allows any retrieval or storage of secret data to be authorized by the trusted authenticator client. At the same time, the private encryption key or private profile key, unlike the equivalent high-security keys, can be stored on the application client, so that the application client has access to at least the metadata area as long as it has an active session on the server.Advantageously, the application client cannot retrieve any secret data from the sensitive data area for the web applications, but can at least recognize via a stored URL of the web application or a stored user name that secret data for the web application is present in the sensitive data area in the vault.
[0093] In a further preferred embodiment of the method according to the invention, the integrity of the public encryption keys, high-security keys, profile keys, high-security profile keys and session keys stored on the server is ensured by a signing process. For the signing process, a private identification key from an identification key pair of the push authenticator or profile associated with the respective public key stored on the server is used. The public identification key is stored on the server. During the signing process, a signature is generated from the private identification key and the respective public key, which is stored on the server together with the respective public key. Using the public identification key and the signature, the server orThird parties can determine beyond doubt that the signature comes from the owner of the private identification key, in this case, the authenticator client. At the same time, the integrity of the signed public keys is guaranteed. This applies as long as the public identification key on the server is also correct and unchanged. However, if it is no longer correct, this problem can be advantageously detected by the authenticator client.
[0094] In a further preferred embodiment of the method according to the invention, the key pairs belonging to a push authenticator (login key pair, identification key pair, encryption key pair, and high-security key pair) are derived from a random authenticator seed. Furthermore, the key pairs belonging to a profile (identification key pair, profile key pair, and profile high-security key pair) are also derived from a random authenticator seed. This derivation is particularly preferably performed using collision-free cryptographic one-way functions.
[0095] Deriving key pairs has the advantage that a push authenticator, along with all its keys, can be derived from a single random seed. When authorizing other devices by transmitting multiple private keys to them, the random authenticator or profile seed can be transmitted once instead. Other preferred key properties, such as the fact that high-security and login keys may not be permanently stored on an application client for security reasons, are preferably assigned to the keys after derivation. Any random authenticator or profile seed that can derive keys that may not be permanently stored on an application client may itself not be permanently stored on an application client.In a particularly preferred embodiment, the random seed values for push authenticators and profiles on an authenticator client are stored on the key element of the authenticator client, advantageously encrypted and protected against attacks.
[0096] This embodiment variant has the consequence that, instead of the encrypted transmission of private keys in the method according to the invention, the random authenticator or profile seed value is generally transmitted in encrypted form. Thus, in particular when authorizing the coupling of an application client, the random authenticator seed value is transmitted in encrypted form instead of the private login key. Furthermore, when authorizing the storage or retrieval of secret data by the application client, the random authenticator seed value or profile seed value is transmitted instead of the private encryption and high-security keys or profile and profile high-security keys. In a particularly preferred embodiment variant, the setting of an application client into an open or closed state is controlled by adding the random authenticator or profile seed value encrypted with the application client's public session key.Profile seed value, instead of the private high-security keys contained in these random seed values, to a session. In a particularly preferred embodiment, a profile is generated not from one, but from two random profile seed values, with the profile key pair being generated from one random profile seed value and the identification key pair and the profile high-security key pair being generated from another random profile high-security seed value.If the symmetric key and symmetric high-security key of a vault are encrypted using a profile, this division also allows a coupled application client to differentiate between open and closed states. In the case of the closed state, the random high-security profile seed value (which cannot be stored permanently) is not made available in the session, thus preventing the application client from retrieving sensitive data from the vault.
[0097] In a further preferred embodiment of the method according to the invention, the key pairs belonging to a push authenticator—identification key pair, encryption key pair, and high-security key pair (excluding the login key pair)—are derived from a random salt value in addition to the random authenticator seed value. Furthermore, the key pairs belonging to a profile—identification key pair, profile key pair, and profile high-security key pair—are derived from a random profile salt value in addition to the random profile seed value and profile high-security seed value. The salt value and profile salt value are stored unencrypted on the server.Deriving keys from random seed values combined with random salt values has the advantage that an attacker cannot discover private keys by testing various seed values, even systematically using so-called rainbow tables, and can derive the seed value if the key yields the same result. Salt values thus advantageously increase cryptographic security.
[0098] In a further preferred embodiment of the method according to the invention, the method comprises a recovery function that allows the use of a new authenticator client as well as the secret data encrypted by any push authenticator or profile of the initial authenticator client without having access to the initial authenticator client, i.e., the first authenticator client used for this account. Backup authenticators are used for this purpose, which are advantageously initialized on the new authenticator client by the recovery function in order to gain access to the secret data of the initial authenticator client.
[0099] In a particularly preferred embodiment of the recovery function, when the push authenticator is initialized on the initial authenticator client, an additional backup authenticator is created, which encrypts a copy of the same secret data as the push authenticator of the initial authenticator client. The corresponding random authenticator seed value of the backup authenticator, from which any keys of this backup authenticator can be derived, is preferably stored in an encrypted cloud protected by additional security measures. By way of example, but not limitation, iOS and Android offer encrypted cloud backups for their mobile applications, which are used for the backup authenticator.
[0100] In an alternative, particularly preferred variant, a backup code can be retrieved by the user from the mobile application. For this backup code, an additional backup authenticator is created upon initial retrieval, and the user's secret data is encrypted with this backup authenticator. A backup salt value stored on the server is preferably used to derive an authenticator seed value from the backup code using a hash function. The backup salt value advantageously increases the security of this implementation of the recovery function. In this embodiment of the recovery function, the user is responsible for ensuring security against spying, manipulation, and loss of the backup code.
[0101] In a further particularly preferred embodiment of the recovery function, when the new authenticator client is initialized using one of the described or another recovery function, the secret data in all vaults encrypted by the respective backup authenticator of the initial authenticator client is consolidated into a single transfer. The vault(s) are then encrypted using one or preferably two new symmetric keys. These symmetric keys are encrypted using new public encryption keys and preferably new public high-security keys of a newly initialized push authenticator on the new authenticator client.All keys of the initial authenticator client, including the backup authenticator used, are deleted, so that all vaults are advantageously re-encrypted and long-term attacks on the secret data via the recovery function are prevented from this point on at the latest. New recovery functions are preferably created on the new authenticator client using the backup authenticators described above.
[0102] In a further preferred embodiment of the method according to the invention, an application client comprises an associated application client extension locally connected to and on the application client. In a particularly preferred embodiment, the application client extension is a browser extension in a browser on the application client. The application client extension serves to store and retrieve metadata of the secret data of a vault to which the session of this application client is assigned. As a result, the application client extension can advantageously identify, in particular, websites accessed in the browser as known websites for which secret data already exists.
[0103] In a particularly preferred embodiment, the application client extension generates overlays, particularly for login forms on popular websites. The overlays are particularly advantageously displayed instead of the original forms by adapting the website's source code accordingly. This allows a user to immediately recognize that confidential data has already been saved using the method according to the invention and retrieve it accordingly. The overlays also query the user as to whether the previously entered confidential data should be saved in the corresponding safe, for example, if a successful login attempt on a website reveals no previously saved login data for that website.In another implementation variant, the application client extension also generates overlays for forms that request the user to enter, in particular but not exclusively, address, payment, and credit card information. In another implementation variant, the application client extension generates overlays if the user or another user has left a secret note for a specific URL and requests its display. This advantageously allows notes to be securely stored and shared specifically for specific web applications.
[0104] In a further particularly preferred embodiment, the application extension automatically detects known websites for which confidential data is available, generates and displays overlays, and automatically fills out forms, especially login forms, with all confidential data available in the current state of the application client. The user's only remaining task is to confirm the saving or retrieval of confidential data using the authenticator client when the application client is closed. The application client extension also generates and displays a special overlay for this task. This advantageously ensures a user experience that is as convenient as an SSO solution.
[0105] In a further preferred embodiment of the method according to the invention, any authorization of the coupling of application clients as well as the storage and retrieval of secret data by an authenticator client is achieved by a swipe gesture performed on the smartphone used as the authenticator client in this embodiment. In a particularly preferred embodiment, a previously described mobile application is installed on the authenticator client, which, in this embodiment, prompts the user to perform the swipe gesture using a simple graphical user interface if authorization is required. In a particularly preferred embodiment, in addition to performing the swipe gesture, the security function of the smartphone, for example, biometric authentication using a fingerprint or facial recognition, is queried.This advantageously achieves 2FA through an authentication method that is intuitive and familiar to the user. The authentication method on a smartphone is also a particularly simple and intuitive way of authorization and significantly increases the user-friendliness of the entire process.
[0106] In a further preferred embodiment of the method according to the invention, a session of a client coupled to the server comprises a session token, which is stored on the server alongside the public session key. The existing session token advantageously allows the client to send requests to the server. In this embodiment, removing the session token allows the control of sessions of application clients, but also of authenticator clients, by rejecting their requests to the server by removing the session token. In a particularly preferred embodiment, a client whose request to the server is rejected deletes its stored keys. The session token is thus a particularly simple way for an authenticator client to exercise control over client sessions.
[0107] In a further preferred embodiment of the method according to the invention, the coupling of an application client is initialized in step S01) by entering a public exchange key of an asymmetric exchange key pair generated by this application client into the authenticator client. This entry includes any form of data capture by the authenticator client, in particular but not limited to, physical typing by the user or capturing image, radio, or audio information. The authenticator client encrypts its private login key or, preferably, its random authenticator seed with this public exchange key and sends the encrypted result to the application client, which can decrypt the private login key or, preferably, the random authenticator seed with the private exchange key.Encryption advantageously ensures transmission security. The encrypted private login key or random authenticator seed is preferably sent using the server as a proxy, i.e., in a forwarding function. The integrity of the sent encrypted private login key or random authenticator seed is particularly preferably ensured by a signature of the authenticator client, particularly preferably by its identification key. The application client can identify the authenticator client as the sender and verify the integrity of the sent encrypted private login key or random authenticator seed if the server also sends the public identification key to the application client.
[0108] In a particularly preferred embodiment, the exchange key pair is used only once, so that no spam, malicious code, or erroneous information can be sent to the application client using the permanently identical encryption. The exchange key pair is particularly preferably renewed on a time-controlled basis, particularly every 30 seconds, 60 seconds, or 5 minutes.
[0109] In a particularly preferred embodiment of coupling an application client using an asymmetric exchange key pair, the public exchange key is contained in an exchange QR code generated and displayed by the application client, which is captured visually by the authenticator client and particularly preferably by camera. This embodiment advantageously allows for particularly high user-friendliness. In a further particularly preferred embodiment, a mobile application that executes the inventive method on a smartphone used as an authenticator client is registered with the smartphone's operating system as a processor of at least one specific type of QR code used for coupling application clients. This mobile application is thus automatically launched when such a QR code is captured by any camera application of the smartphone.This in turn increases the time efficiency of the process and thus the user-friendliness.
[0110] In general, embodiments of the present invention can be implemented as a program, firmware, computer program, or computer program product with program code or data, wherein the program code or data is effective to perform one of the methods when the program is executed on a computing unit. The program code, computer program product, or data can also be stored, for example, on a machine-readable medium or data carrier. The program code or data can be present, among other things, as source code, machine code, or bytecode, as well as other intermediate code.
[0111] A computing unit can be formed by a processor, a computer processor (CPU = Central Processing Unit), a graphics processor (GPU = Graphics Processing Unit), a computer, a computer system, an application-specific integrated circuit (ASIC = Application-Specific Integrated Circuit), an integrated circuit (IC = Integrated Circuit), a single-chip system (SOC = System on Chip), a programmable logic element or a field-programmable gate array with a microprocessor (FPGA = Field Programmable Gate Array).
[0112] In addition to the comprehensively described method, the present invention also comprises the server, which has at least one computing unit for executing computer programs, network connections for exchanging data with at least all clients connected to the server in a network, and at least one storage medium for storing computer programs as well as keys, values, sessions, and safes. In a preferred embodiment, the computing unit is a CPU (central processing unit), which is versatile in its application but not specifically tailored to specialized computing operations. In a preferred embodiment, the server further comprises an application-specific integrated circuit (ASIC) for efficient encryption, for verifying signatures or certificates, and for executing hash functions.
[0113] In addition to the comprehensively described method and the server, the present invention comprises a computer program product A. This comprises instructions that, when executed by a computing unit on an authenticator client, cause the authenticator client to execute the inventive method. This specifically concerns the method steps and features that are executed on the authenticator. These include, in particular, but not limited to, the following method steps and features:
[0114] • Generating or deriving all asymmetric key pairs on an authenticator client,
[0115] • Creating and sending as well as receiving and evaluating requests to or from the server
[0116] • Access interfaces for using the camera, protection element, protection function and memory of the authenticator client
[0117] • Storing private keys and values
[0118] • Providing a user interface that provides functions for authorization (e.g. using a swipe gesture), listing all paired clients, changing the status and removing client sessions, creating and sharing a profile, entering a public exchange key for pairing an application client (in particular via camera and QR code), and requesting the user to verify using the security function of the smartphone as an authenticator client. In addition to the comprehensively described method, the server and a computer program product A, the present invention also includes a computer program product B. This includes commands that, when executed by a computing unit on an application client, cause the application client to execute the method according to the invention. This relates in particular to the method steps and features that are executed on the authenticator.These include, in particular but not limited to, the following process steps and features:
[0119] • Generating or deriving all asymmetric key pairs on an application client,
[0120] • Creating and sending as well as receiving and evaluating requests to or from the server
[0121] • Access interfaces for using the application client's protection element and memory
[0122] • Storing private keys and metadata of secret data
[0123] • Access to interface for local communication with an associated application client extension
[0124] • Providing at least one user interface that provides functions for retrieving the session status, creating and displaying a public exchange key for coupling with a server and authenticator client (in particular via QR code), detecting the awareness status of a web application, creating and displaying overlays, displaying an authorization request for the authenticator client, automatically filling in secret data, storing secret data.
[0125] Computer program product B consists of up to two parts: a primary computer program product of the application client and an application client extension. In a preferred embodiment, the primary computer program product of the application client is a web application, while the application client extension is embodied as a browser add-in. In this preferred embodiment, the coupling, including displaying the public exchange key pair and functions such as retrieving the status of the application client, is performed in the web application. The browser add-in, on the other hand, assumes all functions and steps of the method related to storing metadata of secret data, creating and displaying overlays, filling out forms, and storing and retrieving secret data on and from the server.In addition to the comprehensively described method, the server, and the computer program products A and B, the present invention also encompasses a computer program product C. This comprises instructions that, when executed by a computing unit on the server, cause the server to execute the inventive method. This specifically relates to the method steps and features that are executed on the server. These include, in particular, but not limited to, the following method steps and features:
[0126] • Generating or deriving all symmetric keys,
[0127] • Accessing the network connections to create and send as well as receive and evaluate requests to or from the clients, in particular acting as a proxy to forward communication between clients,
[0128] • Access to memory and special ASICs for encryption, verification of signatures and certificates or execution of hash functions,
[0129] • Storing encrypted private keys, public keys and secret data in vaults, in particular generating a systematic database-like data management so that vaults, keys, values, sessions, tokens and account data are correctly assigned to each other and to the respective users and clients,
[0130] In addition to the comprehensively described method, the server, and the computer program products A, B, and C, the present invention also encompasses a system consisting of the combination of the computer program products A, B, and C, as well as the server. This system is capable of fully executing the present inventive method. This requires the use of suitable authenticator clients or application clients, which are already specified but not encompassed by the present invention and are configured to execute at least the computer program products A and B, respectively.
[0131] Further advantages, features, and possible applications of the present invention will become apparent from the following description of exemplary embodiments and the drawings. The features mentioned in the claims and in the description may be essential to the invention individually or in any combination. Furthermore, it should be noted that those skilled in the art will undoubtedly recognize that the individual features described in the above specific embodiments can be combined with one another in an appropriate manner, provided there is no contradiction. To avoid unnecessary repetition, a separate description of various possible combinations is omitted. EXEMPLARY EMBODIMENTS
[0132] The above-described characteristics, features and advantages of this invention, as well as the manner in which they are achieved, will be more clearly and distinctly understood in connection with the following drawings and descriptions of the basic principles and embodiments of the present invention.
[0133] The present invention is explained in more detail without limiting the invention to these drawings and descriptions. Where the term "can" is used in this application, it refers to both the technical possibility and the actual technical implementation. Features shown in the individual figures and described for the respective example are not limited to the respective individual example. The singular includes the plural unless the context clearly indicates otherwise.
[0134] In the following diagrams, all cryptographic keys are represented as color boxes and marked with a key symbol. All keys or values highlighted in light gray are secret keys or values that are only available on the respective device to which they belong. Keys or values highlighted in white are also secret, but are stored on the server, albeit exclusively in encrypted form. Keys or values highlighted in dark gray are public keys or values and can be stored unencrypted on the server side.
[0135] Below shows:
[0136] Fig. 1 : The operating principle of the user interface of the method according to the invention in
[0137] Step S03). The user stores or retrieves secret data on an application client (1.3), in this case a laptop. In the preferred embodiment presented here, this function is provided via overlays (1.4.2) by the application client extension (1.4.1), implemented in this preferred embodiment as a browser add-in. Various forms (1.4.3) of different web applications can be automatically recognized by the application client extension (1.4.1), and the inventive overlay (1.4.2) can be displayed. If the user stores or retrieves secret data, they are prompted to confirm this step on their authenticator client (1.2), in this preferred embodiment a smartphone.
[0138] Fig. 2: The underlying architecture of the system of the parties involved in the process
[0139] Devices. The arrows represent the process-specific communication channels. An authenticator client (1.2) communicates via a server (1.1) with an application client (1.3) or its associated application client extension (1.4.1). Both the authenticator client (1.2) and the application client (1.3) and its application client extension (1.4.1) communicate with the server via encrypted channels, represented by the solid arrows, in this preferred embodiment via channels with encryption according to the TLS protocol. In addition, the server (1.1) serves as a communication proxy between the clients; this functionality is represented by the dotted arrows. In this case, the clients communicate using end-to-end encrypted messages within the encrypted channels. Only between the application client (1.3) and its application client extension (1.4.1) local, unencrypted communication occurs on the same device, e.g. between the device memory and the browser add-in.
[0140] Fig. 3: A comparison of the different keys possessed by a push authenticator (1.5) and a profile (1.7). Unlike the push authenticator (1.5), a profile (1.7) does not possess a login key pair consisting of a public (2.1.2) and a private (2.1.3) login key to independently authenticate itself against the server. Both the profile (1.7) and the push authenticator (1.5) possess an identification key pair consisting of a public (2.2.2) and a private (2.2.3) identification key. All other described public keys of the profile (1.7) or push authenticator (1.5) stored on the server are signed using the private identification key (2.2.3). This ensures the integrity of the signed public keys using the signing process (2.2.4). Profile (public (2.5.2) and private (2.5.3) profile key and public (2.6.2) and private (2.6.3) Profile High Security Key) and Push Authenticator (public (2.3.2) and private (2.3.3) encryption key and public (2.4.2) and private (2.4.3) High Security Key) have differently named keys for encrypting vaults associated with the profile or push authenticator. However, the encryption key pair (2.3.2 and 2.3.3) and high security key pair (2.4.2 and 2.4.3) of the push authenticator (1.5) also serve to decrypt any keys of a profile (1.7) associated with this push authenticator in order to gain access to this profile. In the illustrated embodiment, all keys of the profile or push authenticator are derived from the random profile seed (4.2.1) and the random profile high-security seed (4.2.2) or the random authenticator seed (4.1). Both the profile seed (4.2.1) and the profile high-security seed (4.2.2) exist.2) to be able to individually retrieve the profile key pair (2.5.2 and 2.5.3) and the profile high-security key pair (2.6.2 and 2.6.3) from a profile, e.g., depending on whether the profile is in the open or closed state. In this implementation variant, all keys from the push authenticator (1.5) or the profile (1.7) are additionally derived from a random salt value (4.3) or a random profile salt value (4.4).
[0141] Fig. 4: The encryption of a safe (3.3.1) on a server (1.1), in this
[0142] An embodiment using a profile (1.7), wherein it should be noted that such an encryption variant can also be performed directly by a push authenticator in an embodiment without a profile. The public (2.2.2, 2.5.2, 2.6.2) and private (2.2.3, 2.5.3, 2.6.3) keys generated on the authenticator client (1.2) and associated with the profile are generated from at least one random profile seed (4.2.1), one random high-security profile seed (4.2.2), and one random profile salt (4.4). The public keys (2.2.2, 2.5.2, 2.6.2) are stored on the server, whereby the public profile high-security key (2.6.2) is used to encrypt the symmetric high-security key (3.2) and the public profile key (2.5.2) is used to encrypt at least the symmetric key (3.1). In a preferred variant, the public profile key (2.5.2) both symmetric keys (3.1, 3.2) are additionally encrypted. The symmetric keys can then be used to retrieve secret data from the vault (3.3.1), which is stored there systematically and chronologically in individual transfers (3.3.7) for individual web applications.
[0143] Fig. 5: Access restriction to a profile (1.7) through encryption by a push authenticator (1.5) and a second, in this embodiment, backup authenticator (1.6). In the profile at the bottom left, key pairs associated with the profile are generated from a random profile seed (4.2.1), a random high-security profile seed (4.2.2), and a random profile salt (4.4), as shown in Fig. 4. These can be used to encrypt a server-side safe, as shown in Fig. 4. While the random profile salt (4.4) is stored publicly on the server, the random profile seed (4.2.1) is encrypted using the public encryption key (2.3.2) of a push authenticator (1.5), and the random high-security profile seed (4.2.2) is encrypted using at least the public high-security key.
[0144] (2.4.2) of the push authenticator (1.5) is stored on the server. This allows only this push authenticator (1.5) to gain access to this profile by decrypting the profile's random seed values (4.2.1 and 4.2.2). Additionally, this implementation variant includes a backup authenticator (1.6) that stores the profile's random seed values (4.2.1 and 4.2.2) in the same encrypted form on the server. This backup authenticator (1.6) can be created by transferring the random authenticator seed value (4.1) and the random salt value (4.3) to another authenticator client and, in case of loss of the initial authenticator client (1.2), generate all keys (2.1.2, 2.1.3, 2.2.2, 2.2.3, 2.3.2, 2.3.3, 2.4.2, 2.4.3) there to decrypt the profile (1.7) and thus gain access.
[0145] Fig. 6: The public and private keys available to a profile (1.7) and a push authenticator (1.5) on an application client in the uncoupled, coupled but closed, and coupled and open states. In the uncoupled state, the application client generates only one public (2.8.2) and one private (2.8.3) exchange key in order to receive encrypted keys or seed values from an authenticator client. In the coupled state, the application client has a session (2.7.4) with a session token (2.7.5) and a public (2.7.2) and a private
[0146] (2.7.3) Session key. A push or backup authenticator (1.5 or 1.6) also has a login key pair consisting of a public (2.1.2) and private (2.1.3) login key to authenticate against the server, which a profile cannot do. Furthermore, a profile (1.7) or push / backup authenticator (1.5 / 1.6) on an application client has all the keys described in particular in Fig. 3. However, the open state can control whether the push / backup authenticator (1.5 / 1.6) on an application client has access to its private high-security key (2.4.3), identification key
[0147] (2.2.3) and login key (2.1.3), or a profile (1.7) has access to its private identification key and profile high-security key. This allows or prohibits access to sensitive data within the secret data and can be controlled via an authenticator client.
[0148] Fig. 7: An illustration of access authorization to a safe (3.3.1) and the secret data it contains through the possession and use of specific keys. In this embodiment, a push authenticator accesses the safe (3.3.1) directly, unlike the equally possible embodiment in Fig. 4, in which a profile accesses the safe (3.3.1) as an indirection layer for the push authenticator. The push authenticator possesses the encryption key pair (2.3.1), consisting of a private (2.3.3) and a public (2.3.2) encryption key. Using these keys, the push authenticator can encrypt and decrypt the symmetric key (3.1) to gain access to the safe encrypted by this symmetric key (3.1). In this preferred embodiment, however, the safe is divided into a metadata area (3.3.5) and a sensitive data area (3.3.3), with the sensitive data area (3.3.3) is additionally encrypted with a symmetric high-security key (3.2). Using the symmetric key (3.1) alone, the push authenticator can only access the metadata area (3.3.5) and the metadata (3.3.6) contained therein. To access the sensitive data (3.3.4) in the sensitive data area (3.3.3), the push authenticator requires the high-security key pair (2.4.1) consisting of a private (2.4.3) and a public (2.4.2) high-security key to encrypt and decrypt the symmetric high-security key (3.2). The private high-security key (2.4.3) cannot be permanently stored by the push authenticator, but must be generated or derived using the random authenticator seed value (see Fig. 6), which is only possible when the push authenticator is in the open state.
[0149] Fig. 8: An illustration of a preferred embodiment of the
[0150] Application client extension (1.4.1) with its functions and the various overlays (1.4.2). The method according to the invention is used here for password-based login to a web application. In the first state top left, a web application, here for example Github.com, shows its standard form (1.4.3) for login. Therefore, the application client and the application client extension (1.4.1) must be coupled with an authenticator client, in this preferred embodiment, by the application client extension
[0151] (1.4.1) is scanned by the authenticator client. This QR code (2.8.4) contains a public exchange key
[0152] (2.8.2), whereby login keys or random seed values can be encrypted and securely exchanged between the authenticator client and the application client, and the application client can be paired. In the paired state, the application extension (1.4.1) recognizes the familiar login form (1.4.3) and automatically displays an overlay (1.4.2) for logging in using the inventive method instead of the form, see the illustration in the top center of Fig. 8. If the user initializes the login, the overlay (1.4.2) in the bottom center of the illustration indicates that the user should authorize access to the secret data of this web application using the authenticator client – this applies at least if the application client is not set to the open state, because then it could also retrieve the sensitive secret data without authorization. At the end of the process, the overlay (1.4.2) indicates successful login to the web application and is then hidden.
[0153] In the different figures, parts that are equivalent in terms of their function are always provided with the same reference symbols, so that they are usually only described once.
[0154] The embodiments of the invention shown are to be understood as examples and not as limiting. The invention may also be carried out in a different manner. Therefore, all equivalent structural changes made by applying the description of the invention are to be included within the scope of the patent application. LIST OF REFERENCE SYMBOLS
[0155] (1.1) Server
[0156] (1.2) Authenticator client
[0157] (1.3) Application client
[0158] (1.4.1) Application client extension
[0159] (1.4.2) Overlay
[0160] (1.4.3) Form
[0161] (1.5) Push Authenticator
[0162] (1.6) Backup Authenticator
[0163] (1.7) Profile
[0164] (2.1.1) Login key pair
[0165] (2.1.2) Public login key
[0166] (2.1.3) Private login key
[0167] (2.2.1) Identification key pair
[0168] (2.2.2) Public identification key
[0169] (2.2.3) Private identification key
[0170] (2.2.4) Signing process
[0171] (2.3.1) Encryption key pair
[0172] (2.3.2) Public encryption key
[0173] (2.3.3) Private encryption key
[0174] (2.4.1) High security key pair
[0175] (2.4.2) High-security public key
[0176] (2.4.3) Private high-security key
[0177] (2.5.1) Profile key pair
[0178] (2.5.2) Public profile key
[0179] (2.5.3) Private profile key (2.6.1) Profile high-security key pair
[0180] (2.6.2) Public profile high-security key
[0181] (2.6.3) Private profile high-security key
[0182] (2.7.1) Session key pair
[0183] (2.7.2) Public session key
[0184] (2.7.3) Private session key
[0185] (2.7.4) Meeting
[0186] (2.7.5) Session token
[0187] (2.8.1) Replacement key pair
[0188] (2.8.2) Public exchange key
[0189] (2.8.3) Private exchange key
[0190] (2.8.4) Exchange QR code
[0191] (3.1) Symmetric key
[0192] (3.2) Symmetric high-security key
[0193] (3.3.1) Safe
[0194] (3.3.2) secret data
[0195] (3.3.3) Sensitive data area
[0196] (3.3.4) Sensitive data
[0197] (3.3.5) Metadata area
[0198] (3.3.6) Metadata
[0199] (3.3.7) Handover
[0200] (4.1) Random authenticator seed
[0201] (4.2.1) Random profile starting value
[0202] (4.2.2) Random profile high-security seed
[0203] (4.3) Random salt value
[0204] (4.4) Random profile salt value
Claims
PATENT CLAIMS 1. Computer-implemented procedure for secure management of secret data (3.3.2) on a server (1.1) and secure use of the secret data (3.3.2), comprising the steps: 501) Initializing at least one push authenticator (1.5) on an initial authenticator client (1.2), comprising the Generating at least two asymmetric key pairs belonging to the push authenticator (1.5), a login key pair (2.1.1) from a private login key (2.1.3) and a public login key (2.1.2) and an encryption key pair (2.3.1) from a private encryption key (2.3.3) and a public encryption key (2.3.2) and Storing the public login key (2.1.2) and the public encryption key (2.3.2) of the push authenticator (1.5) on the server (1.1), 502) Coupling at least one application client (1.3) with the server (1.1), comprising the Authorization by the authenticator client (1.2) by means of encrypted exchange of the private login key (2.1.3) from the push authenticator (1.5) with the application client (1.3), Authenticating the application client (1.3) against the server (1.1) using the login key pair (2.1.1) and creating a session (2.7.4) for the application client (1.3) on the server (1.1) by depositing a public session key (2.7.2) of a session key pair (2.7.1) generated by the application client (1.3), 503) Storing or retrieving secret data (3.3.2) by the application client (1.3) to or from a safe (3.3.1) located on the server (1.1), comprising the Encrypting the safe (3.3.1) when storing it and decrypting the safe (3.3.1) when retrieving it, whereby the encryption or decryption is achieved by a symmetric key (3.1) stored on the server (1.1), Encrypting the symmetric key (3.1) with the public encryption key (2.3.2) of the push authenticator (1.5) and Storing or retrieving by authorizing an encrypted retrieval of the private encryption key (2.3.3) of the push authenticator (1.5) by the authenticator client (1.3) for decrypting the symmetric key (3.1), characterized in that at least one profile (1.7) is used as an indirection level in addition to the push authenticator (1.5), wherein the symmetric key (3.1) is encrypted by a public profile key (2.5.2) of a profile key pair (2.5.1) of the profile (1.7), wherein the profile (1.7) is encrypted by the public encryption key (2.3.2) of the push authenticator (1.5).
2. The method according to claim 1, wherein the symmetric key (3.1) is encrypted by one or more different public profile keys (2.5.2) or public encryption keys (2.3.2) of multiple profiles (1.7) or push authenticators (1.5).
3. Method according to one of claims 1 to 2, wherein two profiles are used sequentially, so that at least a first profile (1.7) is encrypted directly by the public profile key (2.5.2) of the profile key pair (2.5.1) of at least one second profile (1.7).
4. The method according to claim 3, wherein the first profile (1.7) encrypts all safes (3.3.1) belonging to an organization and wherein the at least second profile (1.7) is managed by the push authenticators (1.5) of an administrator of the organization.
5. The method according to claim 4, wherein the administrator of the organization is able to delete all encryptions according to method step S03) of his organization, to replace them with placeholders and to generate new ones.
6. Method according to one of claims 1 to 5, wherein the safe (3.3.1) comprises a sensitive data area (3.3.3) and a metadata area (3.3.5), wherein the sensitive data area (3.3.3) is additionally encrypted by a symmetric high-security key (3.2) stored on the server, wherein the symmetric high-security key (3.2) is encrypted by means of a public high-security key (2.4.2) of a high-security key pair (2.4.1) of a push authenticator (1.5) or a public profile high-security key (2.6.2) of a profile high security key pair (2.6.1) of a profile (1.7).
7. The method according to claim 6, wherein the high-security key pair (2.4.1), the profile high-security key pair (2.6.1) and the login key pair (2.1.1) cannot be stored on a permanent memory of clients, i.e. authenticator clients (1.2) or application clients (1.3).
8. The method according to any one of claims 6 to 7, wherein a coupled application client (1.3) is placed in a closed state in which this application client (1.3) does not receive access to the private high-security key (2.4.3).
9. The method according to any one of claims 6 to 8, wherein a coupled application client (1.3) is placed in an open state in which the application client (1.3) receives access to the private high-security key (2.4.3).
10. The method according to any one of claims 1 to 9, wherein the integrity of the public encryption keys (2.3.2), high security keys (2.4.2), profile key (2.5.2), profile high-security key (2.6.2) and session key (2.7.2) is ensured by a signing process (2.2.4) using a private identification key (2.2.3) of an identification key pair (2.2.1) of the associated push authenticator (1.5) or profile (1.7).
11. Method according to one of claims 1 to 10, wherein the key pairs (2.1.1, 2.2.1, 2.3.1, 2.4.1, 2.5.1, 2.6.1) of a push authenticator (1.5) or a profile (1.7) are derived from at least one random authenticator start value (4.1) or profile start value (4.2.1, 4.2.2).
12. The method according to claim 11, wherein, in order to derive the key pairs (2.1.1, 2.2.1, 2.3.1, 2.4.1, 2.5.1, 2.6.1) of a push authenticator (1.5) or a profile (1.7), a random salt value (4.3) or profile salt value (4.4) is additionally used and stored on the server (1.1) for the push authenticator (1.5) or the profile (1.7).
13. The method according to any one of claims 1 to 12, wherein the method comprises a recovery function which enables the use of a new authenticator client (1.2) and all previous secret data (3.3.2) without the initial authenticator client (1.2).
14. Method according to one of claims 1 to 13, wherein in addition to the application client (1.3) an associated application client extension (1.4.1) is coupled, which stores and retrieves metadata (3.3.6) of the session (2.7.4) and displays overlays (1.4.2) for stored secret data (3.3.2) on Internet pages.
15. The method according to claim 14, wherein the application extension (1.4.1) automatically recognizes various forms (1.4.3) of a website and can fill them out if desired.
16. The method according to any one of claims 1 to 15, wherein the authorisation of the application client (1.3) and the storage and retrieval of secret data (3.3.2) by the application client (1.3) are carried out using a simple swipe gesture on a smartphone as the authenticator client (1.2).
17. The method according to any one of claims 1 to 16, wherein a session (2.7.4) comprises a session token (2.7.5) generated by the server (1.1) which allows at least the client belonging to the session (2.7.4) to send requests to the server (1.1).
18. The method according to one of claims 1 to 17, wherein the coupling of the application client in step S02) is initialized by entering a public exchange key (2.8.2) of an exchange key pair (2.8.1) created and issued by the application client (1.3) into the authenticator client (1.2), and wherein the private login key (2.1.3) is encrypted with the public exchange key (2.8.2) during the exchange from the authenticator client (1.2) to the application client (1.3).
19. The method according to claim 18, wherein the public exchange key (2.8.2) is contained in an exchange QR code (2.8.4) generated and displayed by the application client (1.3), which is detected by the authenticator client (1.2).
20. Server (1.1), comprising at least one computing unit for executing computer programs, network connections for exchanging data at least with the clients belonging to the method according to one of claims 1 to 19 in a network, and at least one storage medium for storing at least computer programs, keys, values, sessions and safes.
21. Computer program product A, comprising instructions which, when executed by an authenticator client, cause the authenticator client to carry out the method according to one of claims 1 to 19.
22. Computer program product B, comprising instructions which, when executed by an application client, cause the application client to execute the method according to one of claims 1 to 19.
23. Computer program product C, comprising instructions which, when executed by the server, cause the server to carry out the method according to one of claims 1 to 19.
24. System comprising a server (1.1) according to claim 20, a computer program product A according to claim 21, a computer program product B according to claim 22 and a computer program product C according to claim 23.
Citation Information
Patent Citations
Form filling with digital identities, and automatic password generation
EP2332114B1
System and method for service assisted mobile pairing of password-less computer login
EP3420677B1
Web based system that allows users to log into websites without entering username and password information
US10341334B2
Local and remote access apparatus and system for password storage and management
US10491588B2
System for accessing data from multiple devices
US10893045B2
