Commit Graph

20 Commits (0c293d040772a658a563688fbc2e525cad78964b)

Author SHA1 Message Date
antona 0c293d0407 - Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
  static const string of the libntfs verion, i.e. at the moment this is
  "8.0.0".  This required moving the version specifications from
  libntfs/Makefile.am to configure.ac.  This should hopefully have the
  sideeffect that I will remember to increment it when incrementing the
  ntfsprogs version number when making a release given the two are
  right under one another.  (Anton)
- Change ALL utilities to display the libntfs version they are running
  on.  This should make debugging easier in the case that people are
  running mismatched utilities/library.  (Anton)
2005-10-07 14:10:56 +00:00
antona 8db479a6b1 Patch from Christophe:
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
cha0smaster f80efa5e9a Make ntfsdecrypt compile. 2005-08-26 12:25:13 +00:00
antona 68aab0dacd Minor cleanup. 2005-08-10 11:33:10 +00:00
antona c9d112e9ea Fix ntfsdecrypt to also work with passwordless files. Note this
requires a patched gnutls library or it still does not work.  (Anton)
2005-08-10 10:17:03 +00:00
antona 8ffbca582f Add comment about broken gnutls empty password handling. 2005-08-09 11:07:26 +00:00
antona 5dd973f683 Fix some memleaks in ntfsdecrypt and do some cleanups there.
Fix testing whether to compile crypto code in configure.ac.
2005-08-09 10:57:40 +00:00
antona 16ed5a54b2 Fix breakage introduced by Yuval. 2005-08-06 14:46:42 +00:00
antona 518c9d6fee Deal with non-password better. 2005-08-06 14:37:31 +00:00
uvman cd37ed9527 fix a few warnings in ntfsdecrypt and make it work. 2005-08-06 14:17:31 +00:00
antona d0dd037463 Set password to NULL instead of empty string "" so GNU TLS assumes it is not
encrypted.
2005-08-06 06:11:56 +00:00
antona 640573bf12 Finish next stage in ntfsdecrypt evolution. It is now almost finished in that
it fully works to decrypt any ntfs enecrypted file both from Linux and Windows.
All you need to supply is your private key in form of a .prx file as exported
for example by the cypher command in XP SP2 or otherwise as exported by the
management console's certificate manager plugin.
2005-08-05 23:41:52 +00:00
antona 5b087e6d8a Fix a core dump. 2005-07-28 15:14:40 +00:00
antona 2546690ee1 Add EFS structure definitions to layout.h and adapt ntfsdecrypt for it.
More fixes/cleanups to decrypt.c.
This was all Yuval's work but I did some renaming afterwards and some
whitespace cleanups.
2005-07-28 10:36:31 +00:00
antona 8c54a0b1a9 First pass at massive cleanup of ntfsdectypt/decrypt. 2005-07-27 15:55:42 +00:00
antona 0eb4cfbb42 Some more cleanups I missed last time. 2005-07-27 10:48:46 +00:00
antona bb3c2172b8 Run through Lindent and some manual aftercleanups. 2005-07-27 10:30:57 +00:00
antona 93194b37a0 Add a function to ntfsprogs/decrypt.c that expands an on-disk desx key from 128
bits to the needed 192 bits so it can be used for {en,de}cryption.
Note I couldn't face using the completely insane libgcrypt api so I used
openssl's libcrypto instead...  Anyone feel free to swap once we have it
working.
2005-07-21 12:12:37 +00:00
antona b48dae0c5f Make ntfsdecrypt compile under Linux. 2005-07-16 07:00:57 +00:00
antona 4ed406e68e Add new utility (make extra) - ntfsdecrypt. (Yuval) 2005-07-16 06:53:40 +00:00