Open jurobystricky opened 4 years ago
Thanks a lot for your comments.
libdcap_quoteprov.so.1 this library is specific for this tool, if we put this library to the system folder/path, it will impact DCAP users. This is why I didn't install in standard Linux locations. For other files, yes, maybe installing them in standard Linux location is better.
For the spec file issue, I have added this tool to the repo(or local repo). In fact, these libraries have some dependency relationship. Just one example, libsgx-urts will depend on libsgx-enclave-common, so In current spec file: it is enough. If you use the repo way t install this tool, you didn't need install these depended package manually. Maybe I need update the README.
"_{version}-{revision}", I will check it.
for item 3, maybe it is a litter confusing for user. But we don't have plan to unify these version information between DCAP and SDK/PSW.
do you have further comments? Could we close this issue?
Currently the "sgx-pck-id-retrieval-tool" RPM package installs the following files: /opt/intel/sgx-pck-id-retrieval-tool/License.txt /opt/intel/sgx-pck-id-retrieval-tool/PCKIDRetrievalTool /opt/intel/sgx-pck-id-retrieval-tool/README.txt /opt/intel/sgx-pck-id-retrieval-tool/libdcap_quoteprov.so.1 /opt/intel/sgx-pck-id-retrieval-tool/network_setting.conf /opt/intel/sgx-pck-id-retrieval-tool/pck_id_retrieval_tool_enclave.signed.so
and one additional symlink in /usr/local/bin PCKIDRetrievalTool -> /opt/intel/sgx-pck-id-retrieval-tool/PCKIDRetrievalTool
Is there any particular reason these files are not installed in standard Linux locations?
/usr/bin/PCKIDRetrievalTool /usr/lib64/libdcap_quoteprov.so.1 /usr/lib64/pck_id_retrieval_tool_enclave.signed.so /etc/sgx-pck-id-retrieval-tool/network_setting.conf %{_licensedir}/sgx-pck-id-retrieval-tool/License.txt %{_docdir}/sgx-pck-id-retrieval-tool/README.txt
I am aware placing network_settings in /etc/ folder would require code change, but the change is rather trivial.
Also, the README.txt file says:
The sgx-pck-id-retrieval-tool.spec file already contains:
Considering there are users that may not read the README.txt, the .spec file should probably contain:
The README.txt "_{version}-{revision}" is a bit confusing as well, as DCAP version/revision differs form SDK/PSW /version/revision