Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Yet another GUI app for gocryptfs.

License

NotificationsYou must be signed in to change notification settings

Cloaklet/Cloak

Repository files navigation

Project logo

Cloak - File encryption made easy

A simple GUI for gocryptfs.

Build StatusGo Report CardProject LicenseGitHub release

Cloak is a simple GUI for gocryptfs built with Golang and web tech. It works on macOS and Linux.

Features:

  • A simple UI for managing your gocryptfs vaults, just like Cryptomator.
  • Password changing / password resetting (with master key).
  • Warn you about password strength.
  • Fast to launch or quit.
  • Internationalization. Current supported languages:
    • English
    • Simplified Chinese

UI / interaction mimicked from Cryptomator.

Usage

  • Download prebuilt binaries fromreleases page.
  • For Linux users, set executable permission for theAppImage file (alternatively you can usechmod +x Cloak*.AppImage), then just run it.
  • For macOS users, after decompressing the ZIP archive, you might need to runxattr -d -r com.apple.quarantine Cloak.app in Terminal, otherwise GateKeeper would refuse to run the app.
  • You can open the UI or quit the app viaOpen menu item of the tray icon (or menubar icon).

Where is my data stored?

  • Vault list is stored at:
  • Configuration file is stored at:
  • Log files are stored at:
    • $XDG_DATA_HOME/Cloak/logs on Linux.
    • ~/Library/Logs/Cloak on macOS.

Before0.8.0, Cloak store all its data and log files in~/.cloaklet.cloak directory on Linux.By running a new version of Cloak, they get moved to the new directories.

Cloak automatically clears log file content each time it starts up.Sensitive information like vault passwords or master keys are never logged.

Why

I wrote a similar GUI calledCloaklet using QML + Golang.However, I don't enjoy developing in QML at all, and quickly ran into some issues which I can't resolve.After that I went back to use Cryptomator, but its UI feels slow and somehow inconsistent.This time I got an idea from one of my early projects to use web browser as UI renderer, thus this new project.

To build

For macOS

Notice: you have to use a running instance of macOS, either a VM or a real Apple computer.

  • Install Xcode related stuff withxcode-select --install.
  • Install frontend dependencies:cd frontend && npm install.
  • Rungo run build.go build in project root, and it should create theCloak.app bundle.
  • Double click to start the app.

For Linux

  • Install required libraries:sudo apt install libappindicator3-dev gcc libgtk-3-dev libxapp-dev.
  • Install frontend dependencies:cd frontend && npm install.
  • Rungo run build.go build and it should produce an AppImage binary.

The AppImage binary includes all required libraries and tools, so you can run it right away.

To develop

Frontend

The frontend (UI) project resides infrontend directory. It's a standard Vue project managed by vue-cli.

  • Install dependencies:npm install insidefrontend directory.
  • Simply runnpm run serve insidefrontend directory.
  • You can also run theserve task from vue-cli UI, runvue ui to get started.

Backend

You should build the frontend project first so the backend can find assets for the UI.

  • Inside thefrontend directory, runnpm run build.
  • Rungo generate ./... to generate necessary source codes.
  • To run the app, simply invokego run . in the project root.

Notice

  • gocryptfs requiresFUSE to function. For macOS please installOSXFUSE (nowmacFUSE).
  • Windows is not supported, becausegocryptfs does not work on Windows.
  • Avoid committingstatik module because it contains large blob of files produced by the frontend project.
  • If you are building the app yourself, missinglibxapp-dev would not result in error; But when running the built AppImage on Linux Mint, menu item will lose highlighting.
  • You should installxdg-open on Linux, otherwise drive revealing will not work.

Credits

License

GPL v3, see LICENSE file.


[8]ページ先頭

©2009-2025 Movatter.jp