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

Add Synchronic SAM-SE Key Store #5

Merged

Conversation

synchronicbed
Copy link
Contributor

@synchronicbed synchronicbed commented Mar 5, 2024

Add Synchronic SAM-SE Key Store :

  • Compatibility with Synchronic SAM-SE :
    1. Possibility to edit the authenticate password
    2. Possibility to edit 4 DESFire configuration keys
    3. Possibility to edit 1 Biometric configuration keys
    4. Possibility to edit 4 DESFire UID configuration keys
    5. Possibility to edit 4 DESFire configuration metadatas
    6. Possibility to edit 1 Biometric configuration metadatas
    7. Possibility to edit 4 DESFire UID configuration metadatas

Copy link
Member

@Maxhy Maxhy left a comment

Choose a reason for hiding this comment

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

Ok for the merge, I will take care of the Converter replacement and addition of the plug-in (and dependencies) to the WiX project as an optional feature which can be enabled at installation time.

Thanks.

Copy link
Member

Choose a reason for hiding this comment

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

Ideally the Click events are avoided and binding is directly done to the ViewModel on Button command. But this guideline is not always followed even on current plugins. This is more a goal to reach atm.

IsExpanded="{Binding LockedLevelExpanded}"
Header="{x:Static properties:Resources.ToolsLockUnlock}">
<WrapPanel Orientation="Vertical" TextBlock.Foreground="{DynamicResource MaterialDesignBody}" Margin="24,8,24,16">
<Grid Margin="-120,0,-120,10">
Copy link
Member

Choose a reason for hiding this comment

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

Negative margins?

PreviewTextInput="NumberValidationTextBox"
Text="{Binding SAM_SEProperties.DESFire.AidString, Mode=TwoWay}"
materialDesign:HintAssist.Hint="{x:Static properties:Resources.DESFireAid}"
ContextMenu="{x:Null}"/>
Copy link
Member

@Maxhy Maxhy Mar 8, 2024

Choose a reason for hiding this comment

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

ContextMenu set to null is required?

</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Margin="0,0,0,0"
Text="{x:Static properties:Resources.KeyEntryDESFireEncryption}"
FontSize="9" Foreground="DarkGray"/>
Copy link
Member

Choose a reason for hiding this comment

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

Hardcoded colors should be avoided to be sure it works with Light/Dark themes. It would be better to reference MaterialDesign theme colors. This comment is for all hardcoded colors on this file.


//All the mechanic of Update is based on this list
//If it's empty, we must populate it with a GetAll
if (_keyEntries.Count == 0)
Copy link
Member

Choose a reason for hiding this comment

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

Is it really required here or on Store method?

@Maxhy Maxhy merged commit 3137433 into leosac:develop Mar 8, 2024
4 checks passed
@synchronicbed synchronicbed deleted the Plugin-Synchronic-SAM-SE_v1.1.0 branch March 21, 2024 16:38
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.

None yet

2 participants