Skip to content

TDK-10018 : Enhance Cryptography Interface tests#307

Open
Abhishek-0412 wants to merge 1 commit intordkcentral:masterfrom
Abhishek-0412:master
Open

TDK-10018 : Enhance Cryptography Interface tests#307
Abhishek-0412 wants to merge 1 commit intordkcentral:masterfrom
Abhishek-0412:master

Conversation

@Abhishek-0412
Copy link

@Abhishek-0412 Abhishek-0412 commented Apr 17, 2025

For cgfacetests -
Source code - Source/cryptography/tests/cryptography_test/InterfaceTests.cpp

There is provision to test for different vault instances - using command line options
-netflix
--default
--platform
--testdefaultinstance

However if the test fails to obtain the provided instance, the error is not captured and test proceeds to obtain CRYPTOGRAPHY_VAULT_NETFLIX.

Handled this by setting a flag incase command line option is provided

@MFransen69 MFransen69 self-requested a review January 13, 2026 14:37
@pradeeptakdas
Copy link

Hi @Abhishek-0412

This PR is opened from long time, can you please check and close it
#307

Please let us know if there is any support needed.

Copilot AI review requested due to automatic review settings March 2, 2026 15:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the cryptography interface test runner to avoid silently falling back to the Netflix vault instance when a specific vault instance was explicitly requested via command-line options, making instance-selection behavior more deterministic in cgfacetests.

Changes:

  • Track whether a vault instance flag was provided (--netflix, --default, --platform, --testdefaultinstance).
  • Only fall back to CRYPTOGRAPHY_VAULT_NETFLIX when no instance-selection flag was supplied.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Successfully merging this pull request may close these issues.

5 participants