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

encryption & backup of Stick #191

Open
bastiion opened this issue Dec 7, 2024 · 4 comments
Open

encryption & backup of Stick #191

bastiion opened this issue Dec 7, 2024 · 4 comments
Assignees

Comments

@bastiion
Copy link

bastiion commented Dec 7, 2024

Kombination Features Vorteile Nachteile
LUKS + Rsync mit Aespipe - Vollständige Containerverschlüsselung
- PAM-Integration möglich
- Datei-für-Datei Sync
- Bewährte Technologien
- Sehr sicher
- Gut dokumentiert
- Einfache Integration
- Schnelle Performance
- Container muss komplett synchronisiert werden
- Keine differenzielle Sync möglich
- Höherer Speicherverbrauch
EncFS + Syncthing - Transparente Verschlüsselung
- Peer-to-Peer Sync
- Echtzeit-Synchronisation
- Dezentrale Sync-Lösung
- Differenzielle Updates
- Gute GUI verfügbar
- Plattformübergreifend
- EncFS gilt als veraltet
- Höhere Komplexität beim Setup
CryFS + Rclone - Moderne Verschlüsselung
- Cloud-Storage Support
- Blockbasierte Verschlüsselung
- Sehr flexibel
- Viele Cloud-Anbieter
- Gute Performance
- Moderne Sicherheit
- Komplexeres Setup
- Weniger verbreitet
- Mehr Ressourcenverbrauch
gocryptfs + Restic - Moderne FUSE-basierte Verschlüsselung
- Backup mit Deduplizierung
- Snapshots
- Sehr effizient
- Snapshot-Funktionalität
- Gute Performance
- Primär für Backup
- Komplexeres Recovery
- Mehr Speicherplatz nötig
CryFS + Syncthing
(Empfohlen)
- Moderne Verschlüsselung
- Peer-to-Peer Sync
- Automatische Synchronisation
- FUSE-basiert
- Blockbasierte Verschlüsselung
- Moderne Sicherheitsstandards
- Benutzerfreundliche GUI
- Differenzielle Updates
- Plattformübergreifend
- Dezentrale Struktur
- Aktive Entwicklung
- Initial höherer Setup-Aufwand
- Benötigt mehr RAM als einfache Lösungen
- Netzwerkconfig kann komplex sein

Vorteile CryFS

macht kleine Dateien. Verschlüsselt Dateiname und Ordnername, braucht kein Volme

Wie soll das mit dem Online backupgehen?

  • Schulcloud?
  • Freier Service (1GB oder so)
@bastiion bastiion converted this from a draft issue Dec 7, 2024
@bastiion bastiion self-assigned this Dec 7, 2024
@bastiion bastiion moved this from Idea to Planning in Schulstick-Portal-App Dec 7, 2024
@bastiion
Copy link
Author

bastiion commented Dec 7, 2024

# apt install libpam-mount fscrypt
# fscrypt setup /dev/sda3
# mkdir /home/user_fscrypt
# fscrypt encrypt /home/user_fscrypt
# chown user /home/user_fscrypt
# rsync -av /home/user/ /home/user_fscrypt/
dann zwingend nen logout von user, und
    # rm -r /home/user
    # mkhomedir_helper user

und in die /etc/security/pam_mount.conf.xml
<fusemount>f2fscrypt add_key -S 0x1111</fusemount>
<fuseumount>f2fscrypt new_session</fuseumount>
<volume noroot="1" ssh="0" fstype="fuse" path="/home/user_fscrypt" mountpoint="/home/user"/>

in /etc/lightdm/lightdm.conf nach "autologin-user" suchen und entfernen

@bastiion
Copy link
Author

bastiion commented Dec 7, 2024

@DerDennisOP DerDennisOP changed the title encryption & backup of STick encryption & backup of Stick Dec 7, 2024
@DerDennisOP
Copy link

@bastiion please make sure #190 has the highest priority.

@cb2-dd
Copy link

cb2-dd commented Jan 6, 2025

We received a message from the Schullogin-Team:

We do not currently create manual accounts for university members. However, user agreements for this user group should come into force soon, so that it would then be possible to create three personal test accounts for you and your team. Unfortunately, I cannot give you any information on the time frame for this as of today. I would therefore ask you to be patient and put your ticket on hold for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Planning
Development

No branches or pull requests

3 participants