Installation
Pre-built binaries for Windows (x64), Linux (x64 and ARM64), and macOS (x64 and ARM64) are available on the Introduction page.
Kryptor is also available as a package from several package managers, although help is wanted to make it available elsewhere.
- 1.
- 2.Navigate to the download location and extract the ZIP file.
Do NOT download the source code from the master branch.
- 1.Install the latest .NET 6 SDK. This may be newer than the SDK and runtime version used to build the release files.
- 2.Navigate to the
src
folder in the terminal (e.g.cd Downloads\Kryptor-4.0.0\src
). - 3.Copy and paste the following command for the operating system and architecture you'd like to build for:
dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
The libsodium library requires the Visual C++ Redistributable for Visual Studio 2015-2022 to work on Windows. However, the appropriate
vcruntime140.dll
is automatically written to disk by Kryptor.dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
dotnet publish -c Release -r osx-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
dotnet publish -c Release -r linux-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
dotnet publish -c Release -r osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
dotnet publish -c Release -r linux-arm -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
win-arm
, win-arm64
, and linux-musl-x64
aren't supported.If you already have Kryptor installed, you can use the previous version to verify the
.signature
file for your new download.If you don't have a previous version of Kryptor installed, you should follow the Verifying digests section below instead.
- 1.
- 2.Make sure the
.signature
file is in the same directory as the downloaded Kryptor.zip
file. - 3.Open the
Command Prompt
on Windows (e.g. search forcmd
in the taskbar) or theterminal
on Linux and macOS (e.g. search your programs forterminal
). - 4.For v4 and above, copy and paste the following command, replacing
[file]
with the file path of the Kryptor.zip
file:
kryptor -v -y Ed//bnY+xqUXVMaaI0poBwTqDRlKA9+x9FjlDAHE9MmXKG4= "[file]"
For v3, use the following command instead:
kryptor -v -y RWRudj7GpRdUxpojSmgHBOoNGUoD37H0WOUMAcT0yZcobg== "[file]"
Kryptor should display the message '
Good signature
', followed by the authenticated comment 'Kryptor v[version]
'.If you see '
Bad signature
', your download is either corrupted or not legitimate and may be unsafe.- 1.
- 2.Open a
PowerShell
window (e.g. searchPowerShell
in the taskbar). - 3.Navigate to the directory of the downloaded Kryptor
.zip
file (e.g.cd Downloads
). - 4.Copy and paste the following command into PowerShell:
(Get-FileHash .\kryptor-windows-x64.zip).Hash -eq (Get-Content .\kryptor-windows-x64.zip.digest).split(" ")[0].ToUpper()
The word
True
should appear in the PowerShell
window.If you see
False
, your download is either corrupted or not legitimate and may be unsafe.- 1.
- 2.Open a
terminal
window (e.g. search your programs forterminal
). - 3.Navigate to the directory of the downloaded Kryptor
.zip
file (e.g.cd Downloads
). - 4.Copy and paste the following command, replacing
[file]
with the file name of the.zip
file:
shasum -a 256 -c [file].digest
The word
OK
should appear.If you see another message, your download is either corrupted or not legitimate and may be unsafe.
Last modified 9mo ago