-
Notifications
You must be signed in to change notification settings - Fork 60
feature/764 #328
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
Open
DennisDyallo
wants to merge
7
commits into
develop
Choose a base branch
from
dennisdyallo/feature-764
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feature/764 #328
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e9ff11e
task: add user story for case 764
DennisDyallo 8c65873
Merge branch 'develop' into dennisdyallo/feature-764
DennisDyallo 9ed069f
feat: add serial number visibility methods to Configure* OTP operations
github-actions[bot] 941629d
Apply suggestion from @Copilot
DennisDyallo a904b94
Apply suggestion from @Copilot
DennisDyallo 25b3df6
Apply suggestion from @Copilot
DennisDyallo 3dfe647
test: add integration tests for serial number visibility in OTP opera…
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Feature 764 | ||
|
|
||
| ## User Story: I should be able to set serial number visibility when configuring an OTP slot | ||
|
|
||
| ## Description: | ||
| This seems to have been a design oversight: | ||
|
|
||
| In the Configure* operation classes in the OTP.Operations namespace, one should be able to set the serial number visibility (i.e. API, USB, and Button visible). But the methods for adding these flags are not present. | ||
|
|
||
| See Class (ConfigureYubicoOtp)[https://docs.yubico.com/yesdk/yubikey-api/Yubico.YubiKey.Otp.Operations.ConfigureYubicoOtp.html] for an example of a configuration missing these methods. | ||
|
|
||
| See Class (UpdateSlot)[https://docs.yubico.com/yesdk/yubikey-api/Yubico.YubiKey.Otp.Operations.UpdateSlot.html] to see that they are present for updating a slot. | ||
|
|
||
| ## How it's implemented in the corresponding Java SDK | ||
| See these resources to learn how it was effectively implemented in the Java SDK | ||
| https://github.com/Yubico/yubikit-android/tree/main/oath | ||
| https://github.com/Yubico/yubikit-android/tree/main/yubiotp | ||
|
|
||
| ## Definition of Done | ||
| - Adjusted implementation of the Configure* (e.g. ConfigureYubicoOtp) operation classes that supports setting the serial number visibility, as it is for UpdateSlot | ||
| - Simple Unit Tests. Append tests to existing relevant test classes | ||
| - Simple integration test (will be tested manually by user in PR) | ||
| - The implementation should follow, where applicable, the implementation in Java | ||
| - No breaking changes are allowed | ||
| - Follow .editorConfig code formatting | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.