Commit Graph

667 Commits (b312a444839b02299d8e5e4285c145dab6350a98)

Author SHA1 Message Date
flatcap b312a44483 change utils_dump_mem to take a void ptr
update the comments a bit
2005-08-16 13:25:15 +00:00
szaka 6d7ca452ff Articulate --bad-sectors a bit better 2005-08-15 21:44:10 +00:00
szaka a9e02e7687 Hard link mkfs.ntfs and mkfs.ntfs.8 with mkntfs and mkntfs.8 2005-08-15 20:48:48 +00:00
flatcap 301c8bd331 tidy up complicated mft mess 2005-08-14 22:22:06 +00:00
flatcap 14ab52fb23 give the new file some dummy data 2005-08-14 16:08:44 +00:00
flatcap a1ef87e393 tidy up error message 2005-08-14 15:56:31 +00:00
cha0smaster 9028a53dfc Sorry it's very large commit (46K of diffs between my local tree and CVS HEAD
before commit), file and directory creation/deletion recursively requested many
changes. See ChangeLog for description of all changes.
2005-08-14 15:44:46 +00:00
flatcap 4e292d96f1 remove old version of dt_alloc_children
clean up inode handling
fix ridiculous mft reading bug
mftrec mark free -> set inuse
inc attrib instance ids
successfully create a file
2005-08-14 12:26:55 +00:00
flatcap fd54e78256 more code to start testing add
keep track of dir names
2005-08-11 13:59:08 +00:00
flatcap 8567df0b6d display year in long listing 2005-08-11 13:53:08 +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
cha0smaster 6a9aca9a22 ntfsmount: fix small memleak 2005-08-08 13:14:41 +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
szaka a0adaafe38 Credit Ralf Beyer 2005-08-05 17:28:41 +00:00
antona 8d86fdefec Fix make extra directly after ./configure. Thanks to Yuval for the bug report. 2005-08-04 13:12:41 +00:00
antona d658b8f019 Fix typo in ChangeLog (thanks Szaka!).
Do more detection in configure.ac and in particular check for getopt_long,
windows.h, wincrypt.h, and gcrypt.h and most importantly (for now) give command
line option to enable crypto stuff and autodetect if libgcrypt is present.
And only build ntfsdecrypt (still make extra only) only if both --enable-crypto
was specified AND libgcrypt was found.
2005-08-04 10:36:35 +00:00
antona 6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +00:00
szaka 4e8e7ae9fa Fix for ntfs_rl_truncate() EIO: always set the correct size for $BadClus:$Bad,
even if Windows set it incorrectly
2005-08-03 22:40:29 +00:00
cha0smaster 36c5f89d13 Fix ntfsmount warnings. 2005-08-03 22:29:14 +00:00
szaka 26bedb9462 rl_expand(): make it a bit more readable 2005-08-03 21:46:35 +00:00
szaka 22590fea7e rl_expand(): check if new length isn't already more than requested 2005-08-03 21:35:22 +00:00
cha0smaster 39ec2a8347 ntfsmount: perror => Eprintf on partial {read,write}. 2005-08-03 14:06:04 +00:00
cha0smaster fe67916350 * attrib.c: refix ntfs_attr_p{read,write}
* ntfsmount.c: code that now not really needed, but for any case
2005-08-03 13:52:50 +00:00
antona 55760d93e8 Remove include of openssl/md5.h as that is no longer used. 2005-08-02 09:48:42 +00:00
antona 7e53648b59 Fix a warning. 2005-08-02 09:44:58 +00:00
szaka 06052dafcf Replaced all occurances of ENOTSUP to EOPNOTSUPP to be in better harmony
with the kernel driver
2005-08-01 22:10:38 +00:00
cha0smaster fd2e6eb09d ntfsmount: fix nr_links for directories. 2005-08-01 22:04:27 +00:00
szaka cebd8ec132 White space cleanup 2005-08-01 20:33:26 +00:00
szaka 78297900bd Let the user know if the journal file couldn't be checked or was unlean 2005-08-01 20:22:24 +00:00
cha0smaster f7e5e1cc26 * Fix ntfs_attr_p{read,write}. (see Changelog)
* Minor fixes and some stubs for uncommitted code.
* Update README about ./autogen.sh.
2005-08-01 13:40:51 +00:00
cha0smaster 7aebba2e12 minor improvements to index.h and ntfsmount.c 2005-07-29 21:37:09 +00:00
antona 304f060a76 Add all Makefile.in to maintainer-clean target. 2005-07-29 15:51:49 +00:00
antona 69f55f1ee5 Remove all Makefile.in files and add them all to all .cvsignores. 2005-07-29 15:10:19 +00:00
antona 3ccd12241a Start the build system cleanup. Add AM_MAINTAINER_MODE to configure.ac and
remove configure and Makefile.in.  Also add Makefile.in to .cvsignore.
2005-07-29 15:04:57 +00:00
cha0smaster 4088de1017 Change errno and print more verbose message in case if logfile check failed. 2005-07-29 14:44:23 +00:00
antona 1a029f788e Remove Openssl linking in for decrypt.c from Makefile.am and update build
system.
2005-07-28 16:24:27 +00:00
antona 79e9e30ee3 Use libgcrypt instead of openssl for desx_key_expand's MD5 hashing. 2005-07-28 16:18:20 +00:00
antona 5b087e6d8a Fix a core dump. 2005-07-28 15:14:40 +00:00
antona f67d8fcee1 Use double indirection in case libgcrypt clones the key for you hack for
closing the des cipher.
2005-07-28 11:27:31 +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 0a18d2fce7 Fix some stupid mistakes from the cleanup. 2005-07-27 21:33:00 +00:00
antona 997e23fb15 Fixes to last cleanup. 2005-07-27 18:17:31 +00:00
antona 8c54a0b1a9 First pass at massive cleanup of ntfsdectypt/decrypt. 2005-07-27 15:55:42 +00:00