Skip to content

Store DirId for every cleartext dir encrypted inside the (cipher) directory - #118

Merged
infeo merged 17 commits into
developfrom
feature/113-dirId-stored-in-dir
Apr 1, 2022
Merged

infeo merged 17 commits into
developfrom
feature/113-dirId-stored-in-dir

Conversation

@infeo

@infeo infeo commented Nov 29, 2021 •

Copy link
Copy Markdown
Member

Closes #113.

In this PR the implementation of #113 is tracked.

On directory creation, a file called dirid.c9r is placed inside the ciphertext directory.
It contains the encrypted directory id in case the ciphertext dir gets orphaned.
The dirid is encrypted via the EncryptingWriteableByteChannel API of cryptolib

Existing directories are not migrated, only new directory contain this file.

@infeo
infeo marked this pull request as draft November 29, 2021 15:55
@sonarqubecloud

sonarqubecloud Bot commented Feb 5, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

95.7% 95.7% Coverage
0.0% 0.0% Duplication

@infeo
infeo marked this pull request as ready for review February 7, 2022 10:39
@infeo
infeo requested a review from overheadhunter February 7, 2022 10:40
Co-authored by: Sebastian Stenzel <[email protected]>
@infeo infeo self-assigned this Mar 2, 2022
@infeo
infeo requested a review from overheadhunter March 10, 2022 09:18
Co-authored-by: Sebastian Stenzel <[email protected]>
@infeo
infeo requested a review from overheadhunter March 16, 2022 15:16

@overheadhunter overheadhunter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

all these double negatives... 😅

@infeo
infeo requested a review from overheadhunter March 17, 2022 11:23
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

95.7% 95.7% Coverage
0.0% 0.0% Duplication

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.

Store (encrypted) DirectoryID inside of ciphertext directory

2 participants