TrueCrypt alternative with API

2019-04-08 17:22发布

问题:

I am searching for a TrueCrypt alternative that has an API to programmatically access the files. Does anyone know a solution?

The API should support the listing, creating, changing and deleting of files.

回答1:

Diskcryptor does not have an API, but it is GPL.

If I may, I beleive what you are asking for is for a abstract file system library. I understand that you want to load a TrueCrypt or similar container and list its content. When it is opened, such a container is just raw bytes reprenting sectors. On top the the encryption, such an API would see only raw sectors and it would have to make sense of them with a corresponding sector level api.

You can see the problem in another way. How would you write a program, such as zip, that can present such information on a zip file, a very common container if you will.

So the API you are looking for would need to acheive two things :

  1. Understand the container's encryption scheme (possibly multiple version of it)
  2. Understand the sector format of the embeeded filesystem
  3. Provide a user friendly API.

I have asked myself the same questions a while ago, scoured the net for answers, and this answer is the sum of what I have found so far. I hope you find it a valid answer, even if its not actionable.

Not yet, anyways ;)



回答2:

Our SolFS OS Edition might be what you are looking for if you plan to create new software. It's available for Windows, MacOS X, Linux and FreeBSD.



回答3:

Java Filesystem Provider with integrated encryption : https://github.com/cryptomator/cryptofs