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

Added APFS encryption support #314 #330

Merged
merged 4 commits into from
Nov 23, 2018
Merged

Conversation

joachimmetz
Copy link
Member

@joachimmetz joachimmetz commented Nov 23, 2018

Added encrypted APFS support #314

Requires: #317

@codecov
Copy link

codecov bot commented Nov 23, 2018

Codecov Report

Merging #330 into master will increase coverage by 0.02%.
The diff coverage is 93.1%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #330      +/-   ##
==========================================
+ Coverage   88.02%   88.04%   +0.02%     
==========================================
  Files         202      203       +1     
  Lines        9259     9278      +19     
==========================================
+ Hits         8150     8169      +19     
  Misses       1109     1109
Impacted Files Coverage Δ
dfvfs/credentials/keychain.py 96.42% <ø> (ø) ⬆️
dfvfs/credentials/fvde_credentials.py 100% <ø> (ø) ⬆️
dfvfs/credentials/manager.py 68.75% <ø> (ø) ⬆️
dfvfs/credentials/bde_credentials.py 100% <ø> (ø) ⬆️
dfvfs/credentials/apfs_credentials.py 100% <100%> (ø)
dfvfs/vfs/apfs_container_file_system.py 93.22% <100%> (ø) ⬆️
dfvfs/vfs/apfs_container_file_entry.py 90.62% <100%> (ø) ⬆️
dfvfs/vfs/apfs_file_system.py 89.85% <66.66%> (+0.3%) ⬆️
dfvfs/lib/apfs_helper.py 95.83% <88.88%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 236a321...07b9725. Read the comment docs.

@joachimmetz joachimmetz changed the title Added encrypted APFS support #314 Added APFS encryption support #314 Nov 23, 2018
@@ -30,3 +30,21 @@ def APFSContainerPathSpecGetVolumeIndex(path_spec):
volume_index = None

return volume_index


def APFSContainerOpenVolume(apfs_volume, path_spec, key_chain):
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't actually open the volume, unlike the similar methods for bde and fvde. Please rename the method (APFSContainerUnlockVolume?) and update the docstring.

Copy link
Member Author

Choose a reason for hiding this comment

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

ack

@Onager Onager merged commit bbbbc01 into log2timeline:master Nov 23, 2018
@joachimmetz joachimmetz deleted the apfs2 branch November 24, 2018 09:07
joachimmetz added a commit that referenced this pull request Nov 24, 2018
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.

2 participants