Skip to content

A FUSE 3 implementation for Digiposte online storage service

Notifications You must be signed in to change notification settings

nivram913/fuse-digiposte

Repository files navigation

fuse-digiposte

A FUSE implementation for Digiposte online storage service

Read-write, single threaded, authorization token in argument. Run with :

./fuse-digiposte --auth xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -s /mnt/dgpfs

You may want to add the -f flag to have error messages.

Unmount with fusermount -u /mnt/dgpfs

Because I'm not a profesional programmer but a security engineer (and this FS is written in C), I created an AppArmor profile to prevent potential vulnerabilities to harm the system ;)

#include <tunables/global>

profile fuse-digiposte /path/to/fuse-digiposte {
  #include <abstractions/base>
  #include <abstractions/consoles>
  #include <abstractions/nameservice>
  #include <abstractions/user-tmp>
  
  mount fstype=(fuse.fuse-digiposte),
  umount,
  
  /dev/fuse rw,
  /usr/bin/fusermount3 PUx,
  
  /path/to/fuse-digiposte mr,
  
  /etc/ssl/openssl.cnf r,
}