Skip to content

Conversation

@infeo
Copy link
Member

@infeo infeo commented Nov 29, 2021

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
Copy link

sonarqubecloud bot commented Feb 5, 2022

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 <sebastian.stenzel@gmail.com>
@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 <overheadhunter@users.noreply.github.com>
@infeo infeo requested a review from overheadhunter March 16, 2022 15:16
Copy link
Member

@overheadhunter overheadhunter left a comment

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

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

3 participants