Skip to content

Feature: Add Digital Signatures tab to the properties window #17334

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
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ferrariofilippo
Copy link
Contributor

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Download some .exes (or any other signed file)
  2. Open their properties
  3. Open the Digital Signatures tab and check you see the right data
  4. Click on the Details button
DigitalSignatures.mp4

@ferrariofilippo ferrariofilippo marked this pull request as draft July 27, 2025 20:46
@ferrariofilippo ferrariofilippo marked this pull request as ready for review July 27, 2025 20:51
@yaira2 yaira2 self-requested a review July 27, 2025 22:42
PropertiesNavigationViewItems.Remove(hashesItem);
PropertiesNavigationViewItems.Remove(signaturesItem);
Copy link
Member

@yaira2 yaira2 Jul 27, 2025

Choose a reason for hiding this comment

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

Is there ever a time when the hashes page is displayed, but signatures should be hidden?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call 😄
I added a check to show the section only for supported file types

BTW, when an item has no signature, should we show a message like below or leave the section empty?
image

Copy link
Member

Choose a reason for hiding this comment

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

Not showing anything might look like a bug, I think it's best to show a message.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI 571d0a2 already shows the message

Copy link
Member

Choose a reason for hiding this comment

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

@mdtauk do you have any suggestions for the empty state?

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

Successfully merging this pull request may close these issues.

Feature: Add digital signatures tab to properties window
2 participants