Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I44fe9737dd34d8b61d2ab099c3f611903a5cc9a1
|
|
Change-Id: I31dca502533360b759d6aea20e75a9e823eccc34
|
|
Version 1 of xml with initial values is not supported from now.
From now software backend will not support encrypted data.
Allow parser to accept xml version 2.
Initial values files will contain information about
type of backend that should be used to store data.
Change-Id: Ib3a73b14148a2476ab288ca364fffe9289400ebd
|
|
Initial values may be saved in two locations: software backend and
hardware backend. Until now there were no way to choose backend of
to store initial values.
Change-Id: Iaee057e8c78f6d3066e119adcf4e6fe174846990
|
|
Add an intermediate Key class that removes the need to keep
credentials from binary data object (BData).
Change-Id: I638de81aedf47bc51421a7c362459ced801fd650
|
|
Change-Id: Idfd0909d03e40b7e5cd5aeb1116b844be1901cf1
|
|
- Use proper parameter for tag length
- Move default param values to TrustZoneContext where possible
- Remove unnecessary arguments
Change-Id: I00f8909ede4f80b77a937b52a5bce5698d4516a5
|
|
Refactoring commit has been improperly rebased which led to buildbreak.
Change-Id: I2d04143cf1eb929c8f8226826336b2e825996149
|
|
System services (uid < 5000) should always use "/System" owner id.
Eiter by explicitly adding it to the alias or by running with "System"
label. Add log to make the reason of the failure more apparent.
Change-Id: I1be9861eadcae6eadd6d682b4cc66972c93d1728
|
|
Get rid of all references to smack labels except database scheme.
alias = owner_id + name
Simplify db permissions processing
Change-Id: I36c3dbb3ee605fb00e5e4e6bcbada6400a0cbcab
|
|
Change-Id: I11dbc3468e8277f0cef978f722ecbe275e1048f6
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
According to [1], %prep section of the spec file should contain a single
%setup macro, nothing else. According to [2], manifest %files are best
copied to %{buildroot}%{_datadir} in the %install section.
Moved manifest copy operations from %prep to %install accordingly.
References
[1] https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build
[2] https://wiki.tizen.org/Security/Application_installation_and_Manifest
Change-Id: Iacf755558636f939a540482f849e810780c19a51
|
|
Change-Id: I1fbcd7daf1674dd1ad6b9eaffdba76263bda370b
|
|
Change-Id: Ia61efbc57ce93ed3714dafe9edada7cb244c54d3
|
|
In order to apply User/Group to .service, we need /opt/etc/{passwd,group}.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I0ff03a7bc65565605ac43754349979b351c16796
|
|
ckm_db_merge allows to read database and copy it's contents
to other one. ckm_db_merge supports db since versions 0.1.14.
Please note: both databases will be automatically migrated to
the newest schema.
Change-Id: I5cec9dfdc2ab75a2ccd5156b0bb05cb46d134480
|
|
Add dummy implementation of newly added abstract methods.
Change-Id: If491af391431a769a2e84360425852a53be25f16
|
|
- 120541 : improper use of nagative value
Change-Id: Ic93d890a08def810a8f09ed6bbb8171e440438df
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Migration to VD causes build breaks because of missing optee dependency.
Relation between key-manager and key-manager-ta needs to be re-worked.
For now it will be disabled.
Change-Id: I5312db283e3514d7c54dfa7caffd6738b5568e2f
|
|
- 105284: Buffer not null terminated
- 108955: Big parameter passed by value
- 109815: Uncaught exception
Change-Id: I303a652d6ae0540f7d6daa833a30ef0fb691ffb8
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Tef-simulator and optee use different TA file name formats. Key-manager was
detecting the presence of TA by checking the existence of TA file with
hardcoded format. It worked with tef-simulator but it failed to detect the TA
presence in case of optee.
This commit replaces the TA file presence checking with an attempt to open a
session using libteec. If an attempt succeeds the decider selects TZ backend.
Otherwise, it falls back to SW backend.
Change-Id: I840d6b58a1ffa39885a4b8ded0ff70f4147c3de0
|
|
Do not expose unnecessary libraries to the program
that is linking with key-manager library.
If the program will not be using the symbols of the required library,
it should not be linking directly to that library.
Change-Id: I07264f35d023881be8b104307941565047813688
|
|
openssl pkg-config requires libcrypto and libssl
Change-Id: I222e458a26e0dc15d82654d35fdccc126411000f
|
|
Change-Id: I8ad994a7164f6d85573030e0aeb340c1f0e50d14
|
|
present.
GP API specification has subtle impact on features supported by key-manager:
* passing data chunks bigger than TEEC_CONFIG_SHAREDMEM_MAX_SIZE is not supported by TEE
Subtracting few kB for passing keys, options/cipher, at least 500 kB is left for user-data
* GCM modes with tag lengths 32 and 64 bits are treated as insecure and are also not supported
Change-Id: I9634531dbbfea153a2f4f45bc790521eff014e83
|
|
There was no distinction between different types of errors returned
by OpenSSL functions. Because of that the information returned to
a developer could be not complete and misleading.
In order to solve this problem, translator of OpenSSL errors to CKM
errors was written. Now, macro OPENSSL_ERROR_HANDLE may be used to
handle OpenSSL errors and provide full error information into log
system.
Change-Id: I63b54f76faaa5b36385bed167db03d97f034402f
|
|
Change-Id: I830cdc82351b18a670c4950a720f18433532a966
|
|
New field will allow user to force usage of software/hardwere backend
during runtime.
Change-Id: I6f3c575fa979807f456a32a70b278942cdb28b04
|
|
Change-Id: Id1b563f099e1671fb5fbcca9ca08757b34b1dfd8
|
|
Key-manager main group ID was changed to security_fw
to workaround the issue with TrustZone backend - client
application created shared memory segments inaccessible
by TEF Simulator Daemon.
Change-Id: I8da3dacfb5001cc4b230219820acc53b287f6cfb
|
|
Change-Id: I0e30db44df252ac6a5629542dfd9cea022a04971
|
|
- Initialize required members in default Row ctor
- Remove unused Row objects
- Refactor string memcpy'ing so that SVACE stops complaining
- Fix memory leak in DescriptorSet
Change-Id: I8a22a3c5388b0c17b6f44ebaf89d32e9065526dd
|
|
Change-Id: Iacd8d8e244df289af8c4ab0fe87a26fcb91b5644
|
|
This logs were used during framework test and are useless now.
Change-Id: I4425bc4ab0229cd9430491767a18cc43e7748b6b
|
|
Change-Id: I7a961beae5943d6ce670c94c52f4d8cd1a47f989
|
|
Add support for OCSP responses that does not contain
issuer certificate.
Change-Id: I7fd5367c4c5f34c1d672fcf8506af6a2e9b9d2f7
|
|
Add support for OCSP responses that does not contain
issuer certificate.
Change-Id: I7fd5367c4c5f34c1d672fcf8506af6a2e9b9d2f7
|
|
Change-Id: I4966c6dc08411491b419809be402ac8808027478
|
|
Change-Id: I4966c6dc08411491b419809be402ac8808027478
|
|
Key-manager client crashed during pthread_cancel because
try catch sections did not support stack unwind correctly.
Change-Id: I7089160603394a11d94b437bb4f80cf19b632da0
(cherry picked from commit 3eb9315f621035b8ea237096506e77dfb232d842)
|
|
Key-manager client crashed during pthread_cancel because
try catch sections did not support stack unwind correctly.
Change-Id: I7089160603394a11d94b437bb4f80cf19b632da0
|
|
RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.
Change-Id: I3eef635dec6a8712d74d83fb6dce96e604dd1bb4
(cherry picked from commit a8a5076372d8473663ed565eac3a14503f4c99b2)
|
|
RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.
Change-Id: I3eef635dec6a8712d74d83fb6dce96e604dd1bb4
|
|
permissions exist
Change-Id: Ibe94959942b300779adb1ab82bd794791b33630d
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
|
|
permissions exist
Change-Id: Ibe94959942b300779adb1ab82bd794791b33630d
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
|
|
In many cases the getDER() function is called on a shared_ptr to a key or
certficiate without checking the pointer validity which may lead to segfaults.
Add proper checks before calling the getDER() function.
Change-Id: Ifb209737f14a13f6e7946e21c9d7c1cf5791973e
|
|
Fixes ckm_tool executable not being PIE.
Change-Id: I5bfd915171cb0f9a9b6a17cc8fbec921c4bfb127
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
|
|
Change-Id: If58cc6d4db141b92ee169b8f3cc5ee9f745c8c67
|
|
Unregister libxml2 callbacks in parser destructor.
Change-Id: Ieeeaebc9299df55325612800304c32f55708091c
|
|
Change-Id: Ia890a846836d2c7cf9657a889b304ec1e0171ead
|