5

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.

user229044
  • 232,980
  • 40
  • 330
  • 338
Erik
  • 11,944
  • 18
  • 87
  • 126

3 Answers3

3

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.

TrueCrypt container compared to a zip file

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 ;)

ixe013
  • 9,559
  • 3
  • 46
  • 77
1

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.

Eugene Mayevski 'Callback
  • 45,135
  • 8
  • 71
  • 121
1

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

weberjn
  • 1,840
  • 20
  • 24