aaf/sshsm.git
5 years agoContainerize TPM Initialization tool 21/58821/14
Pramod Raghavendra Jayathirth [Thu, 2 Aug 2018 17:41:31 +0000 (10:41 -0700)]
Containerize TPM Initialization tool

Modifying ABRMD container to support Init tool

Change-Id: I8b2f8171688b67567e3ad4a3e4942ae76737bdfc
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
5 years agoMerge "Adding the CA service container"
Kiran Kamineni [Wed, 25 Jul 2018 20:34:52 +0000 (20:34 +0000)]
Merge "Adding the CA service container"

5 years agoBug - Private Handle mandatory 73/57373/1
Ritu Sood [Wed, 25 Jul 2018 02:41:17 +0000 (02:41 +0000)]
Bug - Private Handle mandatory

Private handle should not be mandatory
as it is not needed in no HW support case

Change-Id: I92158cb0b90f2b661ac091afc4131ad048887e17
Issue-ID: AAF-405
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
5 years agoAdding the CA service container 67/55667/27
Pramod Raghavendra Jayathirth [Mon, 2 Jul 2018 19:06:50 +0000 (12:06 -0700)]
Adding the CA service container

Adding the dockerfile and required scripts
to implement CA service container functionality

Issue-ID: AAF-342
Change-Id: I8ea086008d0d8e50bfad3886c741ba21642ac974
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
5 years agoMerge "Key distribution center container"
Kiran Kamineni [Tue, 17 Jul 2018 03:28:32 +0000 (03:28 +0000)]
Merge "Key distribution center container"

5 years agoKey distribution center container 23/56423/5
Manjunath Ranganathaiah [Fri, 13 Jul 2018 23:26:16 +0000 (16:26 -0700)]
Key distribution center container

This container generates the ca key and
certificate and encrypts it using SRK public
key and stores the generated files on host
folder shared with this container. The public
key is built into the image for sample
known target host.

Change-Id: Ibcfdd10bca86a3e785a7ba6221e22fb78d8b706f
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Issue-ID: AAF-376

5 years agoMerge "Changing the directory of ABRMD container files"
Kiran Kamineni [Mon, 16 Jul 2018 20:46:46 +0000 (20:46 +0000)]
Merge "Changing the directory of ABRMD container files"

5 years agoChanging the directory of ABRMD container files 57/56257/3
Pramod Raghavendra Jayathirth [Wed, 11 Jul 2018 16:21:53 +0000 (09:21 -0700)]
Changing the directory of ABRMD container files

Including the ABRMD in a seperare directory for
better organization

Change-Id: I1097a2d7be5bc99b40b0bd59a4bdb939478d5129
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
5 years agoAdding the sample files for the tools 79/55979/3
Pramod Raghavendra Jayathirth [Fri, 6 Jul 2018 10:54:35 +0000 (03:54 -0700)]
Adding the sample files for the tools

the tools used are Init and duplicate

Change-Id: Ib3298f5cc1970d49834089ba969d4ddc1f41fe27
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
5 years agoAdding the sample directory for application 47/56247/5
Pramod Raghavendra Jayathirth [Wed, 11 Jul 2018 12:54:52 +0000 (05:54 -0700)]
Adding the sample directory for application

This can be considered as a sample for
shared voulume which holds application
content

Change-Id: Id46d33869402c22ae9902d1cdff4c1704e422362
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
5 years agoChange installation directory for tpm-util 03/54603/4
Pramod Raghavendra Jayathirth [Tue, 12 Jun 2018 16:13:01 +0000 (09:13 -0700)]
Change installation directory for tpm-util

changing the path from the user's home directory to
root's home directory for duplicate and import utlity

Change-Id: I1550492925fdd0e3096e7aab853c16896819d61c
Issue-ID: AAF-334
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
6 years agoMerge "Add INFO.yaml file" 2.0.0-ONAP beijing 2.0.0-ONAP
Kiran Kamineni [Fri, 25 May 2018 22:39:51 +0000 (22:39 +0000)]
Merge "Add INFO.yaml file"

6 years agoMerge "Allocating memory for modulus and exponent"
Kiran Kamineni [Fri, 25 May 2018 04:27:27 +0000 (04:27 +0000)]
Merge "Allocating memory for modulus and exponent"

6 years agoMerge "Added 3 more TPM2 Plugin APIs"
Kiran Kamineni [Thu, 24 May 2018 22:13:16 +0000 (22:13 +0000)]
Merge "Added 3 more TPM2 Plugin APIs"

6 years agoAdd INFO.yaml file 41/49041/1
Jessica Wagantall [Thu, 24 May 2018 22:12:30 +0000 (15:12 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I9e1a7b8db453fe1558a2f52a859d62c3767f115b
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoAdded 3 more TPM2 Plugin APIs 81/44981/18
NingSun [Thu, 26 Apr 2018 21:20:38 +0000 (14:20 -0700)]
Added 3 more TPM2 Plugin APIs

Added tpm2_plugin_rsa_sign_update(...), tpm2_plugin_rsa_sign_final(...),
tpm2_plugin_rsa_sign_cleanup(...) APIs.

Issue-ID: AAF-94
Change-Id: I104ff7b979329c03e91206d19371d3904f163993
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoMerge "Added a new Attribute to store TPM key handle"
Kiran Kamineni [Wed, 23 May 2018 22:31:41 +0000 (22:31 +0000)]
Merge "Added a new Attribute to store TPM key handle"

6 years agoAdded a new Attribute to store TPM key handle 31/44731/10
Ritu Sood [Thu, 26 Apr 2018 01:50:05 +0000 (01:50 +0000)]
Added a new Attribute to store TPM key handle

Includes changes to detect existing instances of key  and
also some bug fixes. Also added new functionality for
RSA_SignUpdate, RSA_SignFinal and RSA_Cleanup

Issue-ID: AAF-260
Change-Id: Ib064e86b8f112784ed6d352ab1557ab9a13c5978
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoMerge "Adding support for containerized tss and abrmd"
Girish Havaldar [Wed, 23 May 2018 04:04:17 +0000 (04:04 +0000)]
Merge "Adding support for containerized tss and abrmd"

6 years agoAllocating memory for modulus and exponent 19/48419/1
Ritu Sood [Tue, 22 May 2018 14:17:11 +0000 (14:17 +0000)]
Allocating memory for modulus and exponent

SoftHsm expects memory to be allocated by
the plugin

Issue-ID: AAF-260
Change-Id: I4ef93918a91971680f1f46517a46a29717a096b2
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoUpdate tpm2_plugin_load_key() API 71/48071/2
NingSun [Thu, 17 May 2018 16:09:12 +0000 (09:09 -0700)]
Update tpm2_plugin_load_key() API

Add reading public key modulus and exponent information function in this API.

Issue-ID: AAF-94
Change-Id: I9d1b54336842dfc89140e281cec2ee43f0bb13d3
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoAdding support for containerized tss and abrmd 07/46707/3
Kiran Kamineni [Tue, 8 May 2018 23:24:28 +0000 (16:24 -0700)]
Adding support for containerized tss and abrmd

Adding a dockerfile to build a container that has
tss, abrmd and tpm2-tools installed on it.

Issue-ID: AAF-275
Change-Id: I8bda86d36290785950cf3c23d6527e1245652f42
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
6 years agoRemove keyconv code from SoftHSM library 05/46705/2
Ritu Sood [Wed, 9 May 2018 07:04:42 +0000 (07:04 +0000)]
Remove keyconv code from SoftHSM library

Code not used by SoftHsm and has license issues

Issue-ID: AAF-279
Change-Id: Ie07eef82f9e7bcc445772dba474c1f0e7753542c
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoModify TPM2 Plugin codes 87/42087/9
NingSun [Tue, 10 Apr 2018 22:49:01 +0000 (15:49 -0700)]
Modify TPM2 Plugin codes

Modify codes to use tpm2-tss version 1.2.0, tpm2-abrmd version 1.1.1
tpm2-tools version 2.1.0.

Issue-ID: AAF-94
Change-Id: I2feccbb8dbe718756a5fd363b8dc703562ccd5eb
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoUtility to Import external RSA pem key into TPM 47/40447/2
Arun kumar Sekar [Fri, 30 Mar 2018 18:20:30 +0000 (11:20 -0700)]
Utility to Import external RSA pem key into TPM

Duplicate tool - Takes RSA private key in
pem format as input and generates
TPM structured buffers as expected by tpm Import

Import tool - Takes input buffers from
Duplicate tool and results in pub/priv blobs
which can be used to load the key in tpm
storage heirarchy's as child to primary key

Change-Id: I0af6676895ce0cc22c70e5546908e905b78bb71e
Issue-ID: AAF-207
Signed-off-by: Arun kumar Sekar <arunkumarsit@gmail.com>
6 years agoFolder name changed from tpm-tools to tpm-util 45/40445/1
arunkumarsit [Fri, 30 Mar 2018 17:43:06 +0000 (10:43 -0700)]
Folder name changed from tpm-tools to tpm-util

Change-Id: Ica9eca7f32fac0757a9c1718c1e5ec7c922ca8cd
Issue-ID: AAF-207
Signed-off-by: Arun kumar sekar <arunkumarsit@gmail.com>
6 years agoMerge "tpm tools for the below functionalities"
Kiran Kamineni [Fri, 30 Mar 2018 20:27:32 +0000 (20:27 +0000)]
Merge "tpm tools for the below functionalities"

6 years agotpm tools for the below functionalities 03/40303/2
Pramod [Thu, 29 Mar 2018 17:22:33 +0000 (10:22 -0700)]
tpm tools for the below functionalities

1.INIT(Script) - Establish connection with the
Actual TPM Hardware and loads the primary key
into the TPM hardware

2. Sign and verify(Script) - Loads the key and
does the sign and verify operation

Issue-ID: AAF-207
Change-Id: I015eb5fbc6f0e6f09ca454ed1bb55c5f5aadebae
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
6 years agoClean up TPM2 PLugin codes 23/40323/4
NingSun [Fri, 30 Mar 2018 04:06:26 +0000 (21:06 -0700)]
Clean up TPM2 PLugin codes

Remove unused and redundant codes.

Issue-ID: AAF-94
Change-Id: Icfdbf29e2d7caa339977e7d074f16e123cbff84f
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoAdds the HardwareInfra layer in SoftHSM 97/39897/7
Pramod Raghavendra Jayathirth [Tue, 27 Mar 2018 16:24:56 +0000 (09:24 -0700)]
Adds the HardwareInfra layer in SoftHSM

This enables the support of multiple HSMs

Issue-ID: AAF-200
Change-Id: I825a72a0bf46827ff3be0c0311085cf970b970a6
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
6 years agoAdd more codes in tpm2-plugin 09/39209/4
NingSun [Tue, 27 Mar 2018 17:42:51 +0000 (10:42 -0700)]
Add more codes in tpm2-plugin

Implement tpm2_plugin_load_key() and tpm2_plugin_rsa_sign() APIs

Issue-ID: AAF-94
Change-Id: I5f4329fdf973e52264d9e0e8aabc864c5fbdeebf
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoRemove win32 support in SoftHSMv2 49/35849/4
NingSun [Wed, 14 Mar 2018 23:35:31 +0000 (16:35 -0700)]
Remove win32 support in SoftHSMv2

Due to license issue, we have to remove win32 support in SoftHSMv2.

Issue-ID: AAF-151
Change-Id: I31dda45ed84065819e26be8205747dd096a37432
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoSetup TPM2-Plugin build environment 15/33515/8
NingSun [Thu, 1 Mar 2018 02:24:31 +0000 (18:24 -0800)]
Setup TPM2-Plugin build environment

Add initial codes to build TPM2-plugin shared lib

Issue-ID: AAF-94
Change-Id: I96dee3699aa250b69350d6f01401f3831cf515f7
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoInitial sshsm project structure 97/30897/3
NingSun [Thu, 8 Feb 2018 16:34:03 +0000 (08:34 -0800)]
Initial sshsm project structure

Issue-ID: AAF-94
Change-Id: I5e82fff418e7567b161acf9b98013a9b85ffc5b4
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoInitial empty repository
Jessica Wagantall [Thu, 25 Jan 2018 19:35:01 +0000 (19:35 +0000)]
Initial empty repository