Skip to content

Conversation

gave92
Copy link
Member

@gave92 gave92 commented Jun 20, 2020

Fixes #1047
This PR adds support for bitlocker drives.
When the user clicks on a drive on the sidebar, this PR:

  • checks is the drive is bitlocker-encrypted and locked
  • displays a dialog to ask for password
  • attempts to unlock the drive

Some testing on a pc different from mine is probably in order 😄

@ghost ghost added the needs - code review label Jun 20, 2020
@yaira2 yaira2 requested review from tsvietOK and lukeblevins and removed request for tsvietOK June 21, 2020 02:30
@yaira2
Copy link
Member

yaira2 commented Jun 21, 2020

@gave92 This is great work! I made a few suggestions in order to improve the PR, once those are resolved we will merge the pull request.

@yaira2 yaira2 added changes requested Changes are needed for this pull request and removed needs - code review labels Jun 21, 2020
@gave92 gave92 requested a review from yaira2 June 21, 2020 07:12
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

The dialog should be declared in App.cs the same way the other dialogs are.

@yaira2 yaira2 added needs - code review and removed changes requested Changes are needed for this pull request labels Jun 21, 2020
@tsvietOK
Copy link
Contributor

Please, resolve conflicts.
When i typed wrong password, it showed me empty folder. Is it possible to check password?

@gave92
Copy link
Member Author

gave92 commented Jun 22, 2020

I can ask for pw again if the drive does not unlock. Currently you have to click on the sidebar item again to get prompted for pw again.

@gave92
Copy link
Member Author

gave92 commented Jun 22, 2020

@yaichenbaum please wait before merging. There's a bug I need to fix :)

@gave92
Copy link
Member Author

gave92 commented Jun 22, 2020

@yaichenbaum ok should be good now.
Changes:

  • Fix crash of fulltrust process when UAC is denied by user
  • Add "shield"/"admin" icon to bitlocker unlock dialog -------> is this ok?
  • Add dialog when wrong password is entered

gave92 added 4 commits June 23, 2020 18:58
Changed dialog title & text
Added shield icon on dialog
Show dialog on wrong pw
Copy link
Contributor

@tsvietOK tsvietOK left a comment

Choose a reason for hiding this comment

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

And check for duplicated changes between your PR's.

@gave92 gave92 requested a review from tsvietOK June 24, 2020 22:40
@yaira2 yaira2 merged commit e4b9798 into files-community:master Jun 25, 2020
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Jun 25, 2020
@gave92 gave92 deleted the bitlocker branch July 3, 2020 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ask for password when opening bit locked drive for the first time
3 participants