Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TrueCrypt alternative with API

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.

like image 391
Erik Avatar asked Dec 13 '10 19:12

Erik


People also ask

What can I use instead of TrueCrypt?

VeraCrypt VeraCrypt is a fork of TrueCrypt and is widely considered its successor. It performs all of the same functions as TrueCrypt and then some. VeraCrypt adds security to the algorithms used for system and partitions encryption.

Is TrueCrypt still secure 2021?

TrueCrypt is still safe to use" and a Final Release Repository to host the last official non-crippled version 7.1a of TrueCrypt. They no longer do as of 2022.

Why is TrueCrypt discontinued?

The original authors of TrueCrypt, who have remained anonymous, abruptly shut down the project in May 2014 warning that “it may contain unfixed security issues” and advised users to switch to BitLocker, Microsoft's full-disk encryption feature that's available in certain versions of Windows.

Is BitLocker better than TrueCrypt?

As you can see, TrueCrypt performs worse. The default BitLocker algorithm (AES 128 bit with diffuser) is 12% faster. If you use the same algorithm in BitLocker and TrueCrypt, BitLocker is even faster by 14%.


2 Answers

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

like image 68
ixe013 Avatar answered Sep 23 '22 13:09

ixe013


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.

like image 41
Eugene Mayevski 'Callback Avatar answered Sep 22 '22 13:09

Eugene Mayevski 'Callback