Support for UserDefinedFileAttributeView

Aperta
#47 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@overheadhunter ci sta già lavorando.

Dal 9/4/2019.

  • #156 di @overheadhunter — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

If the underlying file system supports it, we should allow retrieval of a UserDefinedFileAttributeView.

Maximum xattr name length on macOS is 127 chars (255 on Linux, unknown on Windows). Subtracting the prefix, we have 118 usable chars to store a base64-encoded value or in other words: 87 bytes. If we subtract a 16 byte IV, we can store up to 71 cleartext bytes.

Therefore we need to decide, if this is sufficient or whether we want a deterministic scheme (SIV) and then hash the name, which slows down listing but essentially allows any length. We need to collect some data to decide this.

One further advantage of using SIV (+hash), is the ability to cache names and thus speed up xattr listings and decryption independent of the dir. This comes with the disadvantage, that xattr names repeat across different dirs, leaking some information.

Content encryption should be the same as for file contents.

Lingua principale
Java
Stelle
110
Fork
39
Merge medio
1g 28m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cryptomator/cryptofs

Tutte le issue di cryptomator/cryptofs

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.