Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple_app unprotect_blob() fails w/--public_key_alg=rsa-3072 --auth_symmetric_key_alg=aes-256-cbc-hmac-sha384 #235

Open
gapisback opened this issue Dec 14, 2023 · 2 comments
Assignees

Comments

@gapisback
Copy link
Collaborator

gapisback commented Dec 14, 2023

Testing with test case run_test-crypto_algorithms added by PR #232 , simple_app fails to succeed when run with this pair of crypto-algorithms: --public_key_alg=rsa-3072 --auth_symmetric_key_alg=aes-256-cbc-hmac-sha384

run_example.sh: simple_app: Running run_app_by_name_as_server_talk_to_Cert_Service
+ set +x
run_example.sh: Public-key algorithm: '--public_key_alg=rsa-3072', Authenticated Symmetric-key algorithm: '--auth_symmetric_key_alg=aes-256-cbc-hmac-sha384'

+ /home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/simple_app/example_app.exe \
           --data_dir=./app2_data/ --operation=cold-init --measurement_file=example_app.measurement \
           --policy_store_file=policy_store \
          --public_key_alg=rsa-3072 --auth_symmetric_key_alg=aes-256-cbc-hmac-sha384 \
         --print_all=true 

measurement file='example_app.measurement', public_key_alg='rsa-3072', authenticated_symmetric_key_alg='aes-256-cbc-hmac-sha384
+ set +x

+ sleep 1
+ set +x

+ /home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/simple_app/example_app.exe --data_dir=./app2_data/ --operation=get-certified --measurement_file=example_app.measurement --policy_store_file=policy_store --public_key_alg=rsa-3072 --auth_symmetric_key_alg=aes-256-cbc-hmac-sha384 --print_all=true
measurement file='example_app.measurement', unprotect_blob() error, line 962, unprotect_blob, unsupported encryption scheme: 'aes-256-cbc-hmac-sha384'
fetch_store(): Can't Unprotect
warm_restart() error, line 1367, Can't fetch store
main() error, line 442, warm-restart failed
@gapisback gapisback self-assigned this Dec 14, 2023
@gapisback
Copy link
Collaborator Author

Testing out if I can add a comment (using gitHub login ID gapisback)

@jlmucb
Copy link
Collaborator

jlmucb commented Jan 22, 2024

yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants