Comments (7)
Thanks for reporting this. Unfortunately, I know nothing about NixOS. I wonder if this is a .NET problem on NixOS as there was an issue before about that (#59).
After trying to run the binary with all the dynamic libraries (this being libz and libstdc++), the program works fine
What do you mean by this? That it executes? Which binary are you using or did you build from source?
when trying to generate keys or verify a signature, it gives the error "Illegal Instruction (core dumped)".
Do other commands also produce that error, even stuff like -h|--help
?
from kryptor.
Thanks for reporting this. Unfortunately, I know nothing about NixOS. I wonder if this is a .NET problem on NixOS as there was an issue before about that (#59).
Thanks for reading my issue. This probably is a .NET problem, but I compiled binary from source and the problem still persisted. Won't say much about this as I don't know anything about C# or .NET like you with NixOS.
What do you mean by this? That it executes? Which binary are you using or did you build from source?
Basically, running any command that doesn't require any cryptography works such as kryptor -h
or kryptor --version
will work fine, but commands such as kryptor -g
will work fine till it actually starts generating the key, then the error pops up. And what I meant by the 'dynamic libraries', well in NixOS, you cannot run a random binary that you see online because the OS doesn't follow the File system Hierarchy Standard (FHS) and doesn't have a global library path it can use. There are a few ways to get around this, and the one I used was using nix-ld. To find the missing libraries, I used ldd kryptor
and added it to the nix-ld libraries section but even then popped out an error of not having an ICU package (which is needed for proper globalization, don't know if that's needed for Kryptor or not) either way, I then added the ICU package, and then it was able to run help commands as mentioned before, but cryptographical tasks produced errors.
from kryptor.
don't know about Cahir as it has no pre-built binary
Sorry, it's still in development and haven't written up build instructions yet.
Milva's binary seems to work out of the box with no issues
Cool, thanks for testing that out.
The libsodium library also seems to be available as a nixpkg, so there should be a way to get it working on NixOS (probably using flakes).
Let me know if you get it working.
from kryptor.
I should've said actually that only BLAKE2b uses Monocypher on Milva (e.g.,
--blake2b-256
). It's less surprising if the other options work because they're either .NET or Bouncy Castle, which means C# code.
Just tried the --blake2b-256
hash function and it worked with no issues.
from kryptor.
Basically, running any command that doesn't require any cryptography works such as kryptor -h or kryptor --version will work fine, but commands such as kryptor -g will work fine till it actually starts generating the key, then the error pops up.
Thanks for getting back to me. It sounds like it might be libsodium then, the cryptographic library. Not sure where to go from here.
I'd be interested to know whether Cahir or Milva built from source work. The former uses Monocypher and the latter uses Monocypher and Bouncy Castle instead of libsodium.
from kryptor.
Sorry for getting back a bit late, had some problems with my computer.
I'd be interested to know whether Cahir or Milva built from source work. The former uses Monocypher and the latter uses Monocypher and Bouncy Castle instead of libsodium.
Well, don't know about Cahir as it has no pre-built binary and I don't know how to compile it, but Milva's binary seems to work out of the box with no issues. So, the problem as you said may lie in libsodium. The libsodium library also seems to be available as a nixpkg, so there should be a way to get it working on NixOS (probably using flakes).
from kryptor.
I should've said actually that only BLAKE2b uses Monocypher on Milva (e.g., --blake2b-256
). It's less surprising if the other options work because they're either .NET or Bouncy Castle, which means C# code.
from kryptor.
Related Issues (20)
- File/Folder encrypting problem HOT 3
- 📋 Feature: Speed up reading original file name for large files HOT 1
- 🐛 Bug: System.OverflowException converting the FileStream length to an int HOT 2
- 📋 Feature: File names and tree structure HOT 4
- 🐛 Bug: Cannot decrypt folder with anonymous rename disabled HOT 2
- 💻 Support: Incorrect password HOT 6
- ✨ Feedback: 3.0b HOT 8
- ❓ Question: Is it possible to enter the password before ? HOT 1
- ✨ Feedback: Better UX: Error: This file/folder doesn't exist. HOT 3
- Error: IOException - Unable to retrieve private key. HOT 6
- 💻 Technical Support: Can't run Kryptor on Windows 10 HOT 2
- 🐛 Bug: Decrypting a folder - Zero length files aren't decrypted HOT 3
- 🐛 Bug: Incorrect decrypted file name for duplicated files when in the same location. HOT 1
- 📝 Documentation: Wrong .NET version? HOT 2
- 🐛 Bug: Space in folder name causes error HOT 1
- 🐛 Bug: Files with a certain length get truncated during decryption HOT 1
- 🐛 Bug: Interactively created passphrase does not work. HOT 3
- Corruption Verification
- 🐛Bug: cannot execute pre-built Linux binary; exec: Failed to execute process HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kryptor.