The present invention generally relates to cryptographic keys, and more specifically, to safeguarding cryptographic keys from modification or deletion.
Cryptographic keys are used to encrypt data to thwart breaches and comply with industry regulations. Data encryption keys (i.e., cryptographic keys) are used to read and write encrypted data, which is data that is altered by an encryption algorithm according to the key. The key is a string of data that determines the functional output of the algorithm. The same or different cryptographic keys can be used to write and read data. Cryptographic keys can be designed as single-use or long term keys.
Embodiments of the present invention are directed to safeguarding cryptographic keys from modification or deletion. A non-limiting example computer-implemented method includes generating a cryptographic key to restrict access to a resource. The cryptographic key is defined by a key token. The method also includes designating a designated storage field in metadata of the key token, in metadata of a cryptographic key data set record that includes the key token, or in a resource access control database that controls use of the cryptographic key for inclusion of an indicator that the cryptographic key may or may not be deleted or modified. The indicator in the designated storage field is set to indicate whether or not the cryptographic key may be deleted or modified.
Other embodiments of the present invention implement features of the above-described method in computer systems and computer program products.
Additional technical features and benefits are realized through the techniques of the present invention. Embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed subject matter. For a better understanding, refer to the detailed description and to the drawings.
The specifics of the exclusive rights described herein are particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of the embodiments of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The diagrams depicted herein are illustrative. There can be many variations to the diagrams or the operations described therein without departing from the spirit of the invention. For instance, the actions can be performed in a differing order or actions can be added, deleted or modified. Also, the term “coupled” and variations thereof describe having a communications path between two elements and do not imply a direct connection between the elements with no intervening elements/connections between them. All of these variations are considered a part of the specification.
As previously noted, cryptographic keys facilitate generating encrypted data from input data. A cryptographic key is required to recover the input data from the encrypted data. Without the correct cryptographic key, the encrypted data is unreadable. While cryptographic keys for certain applications can be single-use keys, others are long term keys. These long term keys may need to be retained for decades. The duration for which some cryptographic keys need to be retained raises concerns about inadvertent or malicious deletion or modification of cryptographic keys.
One prior approach has involved an administrator enabling cryptographic key usage tracking to determine if a key is still in use. However, a given cryptographic key could be protecting data that was encrypted prior to tracking being enabled or data that is now archived and offline, which would appear not to be in use. In this case, the usage tracking would not properly ensure retention of the cryptographic key. Another approach has involved the generation of a public or private key pair (i.e., a key encrypting key) to protect the cryptographic key. The cryptographic key is retained for the duration of this key encrypting key. However, this approach adds another key that must be tracked.
One or more embodiments of the present invention relate to safeguarding cryptographic keys from modification or deletion. Specifically, a storage field is established in direct association with the cryptographic key that must be retained. As further detailed herein, the storage field can be part of a key token, which is the metadata of the cryptographic key itself. According to an alternate embodiment of the invention, the storage field can be part of the metadata of a key store entry containing the key token. According to yet another alternate embodiment of the invention, the storage field can be part of the resource access control database that controls how the cryptographic key may be used. Once the storage field designating a key as permanent or safeguarded is established according to one of the exemplary embodiments of the invention, a program or application program interface (API) that provides access to the cryptographic key will issue a failure to a request to modify or delete the cryptographic key.
The indication that the cryptographic key 100 may not be deleted or modified may be added to the designated storage field 120 at the time that the cryptographic key 100 and, thus, the key token 110 defining the cryptographic key 100, are generated, at the time that a cryptographic key 100 is imported, or at any other time. If an attempt is made to delete or overwrite the cryptographic key 100, the designated storage field 120 is checked for inclusion of the indication. If the indication is, in fact, made in the designated storage field 120, the attempt to delete or overwrite the cryptographic key 100 will fail. The indication can be a flag (0=can delete or modify; 1=may not delete or modify), for example. Optionally, the key token 110 can be stored as part of a key record 230 in a data set (e.g., cryptographic key data set (CKDS) 210) as discussed with reference to
The indication that the cryptographic key 100 may not be deleted or modified may be added to the designated storage field 240 at the time that the particular key record 230 is created, at the time that the key record 230 is populated after obtaining the key token 110 defining the cryptographic key 100, or at any other time. As noted for the designated storage field 120, discussed with reference to
As previously noted, the storage of a key token 110 as part of a key record 230 is optional. Thus, according to an exemplary embodiment of the invention, a key token 110 can be stored by itself with a designated storage field 120. Alternately, a key token 110 with a designated storage field 120 can be stored in a key record 230. According to yet another alternative embodiment of the invention, a key token 110 can be stored in a key record 230 that includes a designated storage field 240.
As discussed with reference to
The command used to set fields of the profiles 315 in the resource access control database 305 can be used to set the indication in the designated storage field 310 of corresponding with any number of cryptographic keys 100 associated with the resource access control database 305. That is, the indication in the designated storage field 310 of one, a set, or all of the profiles 315 can be set with a single command. The indication can be added in the designated storage field 310 at any time. The indication can be a flag (0=can delete or modify; 1=may not delete or modify), for example. If an attempt is made to delete or overwrite the cryptographic key 100 associated with a profile 315, the designated storage field 310 of the profile 315 is checked for inclusion of the indication that the cryptographic key 100 may not be deleted or modified. If the indication is, in fact, made in the designated storage field 310, the attempt to delete or overwrite the cryptographic key 100 will fail.
Further illustrated are an input/output (I/O) adapter 27 and a communications adapter 26 coupled to system bus 33. I/O adapter 27 can be a small computer system interface (SCSI) adapter that communicates with a hard disk 23 and/or a tape storage drive 25 or any other similar component. I/O adapter 27, hard disk 23, and tape storage device 25 are collectively referred to herein as mass storage 34. Operating system 40 for execution on processing system 400 can be stored in mass storage 34. The RAM 22, ROM 24, and mass storage 34 are examples of memory 19 of the processing system 400. A network adapter 26 interconnects system bus 33 with an outside network 36 enabling the processing system 400 to communicate with other such systems.
A display (e.g., a display monitor) 35 is connected to system bus 33 by display adaptor 32, which can include a graphics adapter to improve the performance of graphics intensive applications and a video controller. According to one or more embodiments of the present invention, adapters 26, 27, and/or 32 can be connected to one or more I/O busses that are connected to system bus 33 via an intermediate bus bridge (not shown). Suitable I/O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols, such as the Peripheral Component Interconnect (PCI). Additional input/output devices are shown as connected to system bus 33 via user interface adapter 28 and display adapter 32. A keyboard 29, mouse 30, and speaker 31 can be interconnected to system bus 33 via user interface adapter 28, which can include, for example, a Super I/O chip integrating multiple device adapters into a single integrated circuit.
According to one or more embodiments of the present invention, processing system 400 includes a graphics processing unit 37. Graphics processing unit 37 is a specialized electronic circuit designed to manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display. In general, graphics processing unit 37 is very efficient at manipulating computer graphics and image processing and has a highly parallel structure that makes it more effective than general-purpose CPUs for algorithms where processing of large blocks of data is done in parallel.
Thus, as configured herein, processing system 400 includes processing capability in the form of processors 21, storage capability including system memory (e.g., RAM 24), and mass storage 34, input means such as keyboard 29 and mouse 30, and output capability including speaker 31 and display 35. According to one or more embodiments of the present invention, a portion of system memory (e.g., RAM 24) and mass storage 34 collectively store an operating system such as the AIX® operating system from IBM Corporation to coordinate the functions of the various components shown in processing system 400.
Various embodiments of the invention are described herein with reference to the related drawings. Alternative embodiments of the invention can be devised without departing from the scope of this invention. Various connections and positional relationships (e.g., over, below, adjacent, etc.) are set forth between elements in the following description and in the drawings. These connections and/or positional relationships, unless specified otherwise, can be direct or indirect, and the present invention is not intended to be limiting in this respect. Accordingly, a coupling of entities can refer to either a direct or an indirect coupling, and a positional relationship between entities can be a direct or indirect positional relationship. Moreover, the various tasks and process steps described herein can be incorporated into a more comprehensive procedure or process having additional steps or functionality not described in detail herein.
One or more of the methods described herein can be implemented with any or a combination of the following technologies, which are each well known in the art: a discrete logic circuit(s) having logic gates for implementing logic functions upon data signals, an application specific integrated circuit (ASIC) having appropriate combinational logic gates, a programmable gate array(s) (PGA), a field programmable gate array (FPGA), etc
For the sake of brevity, conventional techniques related to making and using aspects of the invention may or may not be described in detail herein. In particular, various aspects of computing systems and specific computer programs to implement the various technical features described herein are well known. Accordingly, in the interest of brevity, many conventional implementation details are only mentioned briefly herein or are omitted entirely without providing the well-known system and/or process details.
In some embodiments, various functions or acts can take place at a given location and/or in connection with the operation of one or more apparatuses or systems. In some embodiments, a portion of a given function or act can be performed at a first device or location, and the remainder of the function or act can be performed at one or more additional devices or locations.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, element components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The embodiments were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
The diagrams depicted herein are illustrative. There can be many variations to the diagram or the steps (or operations) described therein without departing from the spirit of the disclosure. For instance, the actions can be performed in a differing order or actions can be added, deleted or modified. Also, the term “coupled” describes having a signal path between two elements and does not imply a direct connection between the elements with no intervening elements/connections therebetween. All of these variations are considered a part of the present disclosure.
The following definitions and abbreviations are to be used for the interpretation of the claims and the specification. As used herein, the terms “comprises,” “comprising,” “includes,” “including,” “has,” “having,” “contains” or “containing,” or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a composition, a mixture, process, method, article, or apparatus that comprises a list of elements is not necessarily limited to only those elements but can include other elements not expressly listed or inherent to such composition, mixture, process, method, article, or apparatus.
Additionally, the term “exemplary” is used herein to mean “serving as an example, instance or illustration.” Any embodiment or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments or designs. The terms “at least one” and “one or more” are understood to include any integer number greater than or equal to one, i.e. one, two, three, four, etc. The terms “a plurality” are understood to include any integer number greater than or equal to two, i.e. two, three, four, five, etc. The term “connection” can include both an indirect “connection” and a direct “connection.”
The terms “about,” “substantially,” “approximately,” and variations thereof, are intended to include the degree of error associated with measurement of the particular quantity based upon the equipment available at the time of filing the application. For example, “about” can include a range of ±8% or 5%, or 2% of a given value.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instruction by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments described herein.
Number | Name | Date | Kind |
---|---|---|---|
6363387 | Ponnekanti | Mar 2002 | B1 |
8145916 | Boshra | Mar 2012 | B2 |
8271783 | Ibrahim | Sep 2012 | B2 |
8634561 | Arnold | Jan 2014 | B2 |
9071429 | Roth | Jun 2015 | B1 |
9530021 | Otsuka | Dec 2016 | B2 |
9881173 | Hazlewood | Jan 2018 | B2 |
10116440 | Rudzitis | Oct 2018 | B1 |
10204236 | Tang | Feb 2019 | B1 |
10425225 | Grubin | Sep 2019 | B1 |
10474831 | Volkanov | Nov 2019 | B1 |
11042522 | Tian | Jun 2021 | B2 |
11240023 | Donlan | Feb 2022 | B1 |
20020026578 | Hamann | Feb 2002 | A1 |
20070113078 | Witt | May 2007 | A1 |
20080115078 | Girgaonkar | May 2008 | A1 |
20080244721 | Barrus | Oct 2008 | A1 |
20090307277 | Grubov | Dec 2009 | A1 |
20100174919 | Ito | Jul 2010 | A1 |
20100232607 | Nimura | Sep 2010 | A1 |
20110307724 | Shaw | Dec 2011 | A1 |
20120275596 | Ureche | Nov 2012 | A1 |
20120281836 | Arnold | Nov 2012 | A1 |
20150046712 | Korkishko | Feb 2015 | A1 |
20150074408 | Oberheide | Mar 2015 | A1 |
20170230179 | Mannan | Aug 2017 | A1 |
20170366547 | Goldfarb | Dec 2017 | A1 |
20170373843 | Benson | Dec 2017 | A1 |
20180026969 | Newton | Jan 2018 | A1 |
20180241561 | Albertson | Aug 2018 | A1 |
20180300717 | Haque | Oct 2018 | A1 |
20180336554 | Trotter | Nov 2018 | A1 |
20190058587 | Roth | Feb 2019 | A1 |
20190114115 | Wille | Apr 2019 | A1 |
20190213179 | McHugh | Jul 2019 | A1 |
20210143990 | Ruane | May 2021 | A1 |
20210258157 | Powers | Aug 2021 | A1 |
20220209946 | Simon | Jun 2022 | A1 |
Number | Date | Country |
---|---|---|
106533694 | Mar 2017 | CN |
20020086444 | Nov 2002 | KR |
Entry |
---|
Tahir et al., “A Novel Private Cloud Document Archival System Architecture Based on ICMetrics”, 2013 Fourth International Conference on Emerging Security Technologies, 2013, pp. 102-106. |
International Search Report and Written Opinion for PCT Application No. PCT/IB2021/051022, dated May 17, 2021, pp. 1-9. |
Number | Date | Country | |
---|---|---|---|
20210258157 A1 | Aug 2021 | US |