Commit Graph

2424 Commits

Author SHA1 Message Date
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
szaka
03556cdd8b Remove the last remained, autogenerated file 2005-07-30 17:00:00 +00:00
szaka
d292ae2d27 Fix random errno returned by ntfs_inode_open() if the MFT record wasn't in use 2005-07-30 16:36:24 +00:00
cha0smaster
7aebba2e12 minor improvements to index.h and ntfsmount.c 2005-07-29 21:37:09 +00:00
cha0smaster
6c5775628f Remove hope all autogenerated files 2005-07-29 21:16:27 +00:00
antona
46ff0a83a8 More removals... 2005-07-29 21:09:07 +00:00
antona
e195dadcd8 Remove more files. 2005-07-29 20:56:35 +00:00
antona
db07edcf74 config.h.in and config.guess are autogenerated... 2005-07-29 20:51:48 +00:00
cha0smaster
edac1701b6 Update for aclocal.m4 remove 2005-07-29 19:45:15 +00:00
cha0smaster
49e3b9ac9f aclocal.m4 is autogenerated file too 2005-07-29 19:42:04 +00:00
antona
304f060a76 Add all Makefile.in to maintainer-clean target. 2005-07-29 15:51:49 +00:00
antona
62f87128ad Remove Makefile.in and configure with make maintainer-clean. 2005-07-29 15:35:55 +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
f0ff698c22 Update some efs info (the 16byte fields in the header are md5 hashes of the
decrypted fek, ddfs, and drfs.  windows uses them as a sanity check and a check
that the efs attribute has not been tampered with.)
2005-07-29 09:54:02 +00:00
cha0smaster
fb433d4ad3 Fix unistr.c::ntfs_mbstoucs on systems with utf8 locale. 2005-07-28 21:20: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
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
d723668d27 decrypt.c:
- Finally working desx decryption thanks to Yuval figuring out that ntfs uses
  des encryption when decrypting!!!  (Yuval)
- Make it compile on Linux.  (Anton)
- Add CALG_DES constant for Linux.  (Anton)
2005-07-27 09:18:26 +00:00
antona
7cd7b2416f finally have verified des key expansion to be correct and have test cases for
it and des decryption.  Currently the des test fails.  It appears ntfs does not
use standard des encryption.  )-:  Perhaps it uses the export non-restricted
40-bit des key instead of 56-bit des...
2005-07-26 16:35:00 +00:00
antona
54b65e2b3c Fixes for key order for desx. Still doesn't work but now keys are correct. 2005-07-26 01:32:51 +00:00
antona
261f059e3e - Fix bug I introduced causing the IV to be wrong for AES decryption.
- Fix a bug where we fail to supply the buffer size when exporting the key.
  Not sure how that ever worked...
2005-07-25 23:23:48 +00:00
cha0smaster
a70ca11003 update 2005-07-25 22:08:42 +00:00
cha0smaster
0de66be9c0 ntfscp.c: fix bug intoduced by Anton in changeset 1.21
ntfsinfo: more info on index dumping
dir.c, layout.h: minor fixes
2005-07-25 22:05:27 +00:00
szaka
61ee94dfb2 Don't show detailed resizing related info by default since the only real
restriction to shrink to the smallest size possible is the relocation of
the first $MFT $DATA extent, usually around 3 GB.
2005-07-25 21:19:08 +00:00
szaka
7943e71620 Support resizing into the middle of a $MFT $DATA extent 2005-07-25 20:40:07 +00:00
szaka
34c676fad3 Support relocation of $MFT with $ATTRIBUTE_LIST 2005-07-24 22:34:36 +00:00
antona
6377902ed4 Update decryption for desx after more reverse engineering. Still doesn't work
though.  )-:
2005-07-24 14:42:43 +00:00
szaka
f6c4797379 Fix in relocate_attributes(): don't stop processing of MFT record attributes
at AT_DATA of $BadClus and $Bitmap. In practice, there aren't non-resident
attributes after them so this recent bug shouldn't have caused data loss.
2005-07-24 09:06:55 +00:00
cha0smaster
e48bd91bbf * Fix bug in index.c (see Changelog).
* Minor fixes to attr{ib,list}.c.
2005-07-23 00:50:31 +00:00
antona
00c7127551 First attempts at DesX decryption (not working yet!). 2005-07-22 23:45:32 +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
cha0smaster
b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
cha0smaster
0f4d02e9e4 ntfsls: not all files started with '$' are system files, check by inode number instead. 2005-07-20 16:04:40 +00:00
antona
e55c6769e1 Apply some updates after doing some reverse engineering. 2005-07-20 10:59:06 +00:00
antona
0dac29a487 Update for 1.11.1 release. 2005-07-20 08:14:52 +00:00
cha0smaster
01946494c2 Fix typos in ChangeLog 2005-07-19 23:22:37 +00:00
cha0smaster
c8cb65fcd9 Make @outs_len to be 0 when @**outs NULL in ntfs_ucstombs calls. Previous code
it correct since @outs_len is ingored when @**outs == NULL, but may confuse
because it was equal to @ins_len what is incorrect (eg. international utf8
characters).
2005-07-19 23:13:26 +00:00
cha0smaster
53a1ae67f9 * Fix similar bug in ntfs_fuse_getxattr.
* Update changelog.
2005-07-19 22:58:51 +00:00
cha0smaster
7b9cac2912 Update ChangeLog and auto scripts. 2005-07-19 21:36:07 +00:00
cha0smaster
37b4c63829 ntfsmount:
* Fix bug in inside ntfs_fuse_filler, it's sometimes allocated to small buffer.  (Thanks to Rich for finding this bug)
* Fix bug in error handling of ntfs_fuse_readdir.

ARGH, why we already had release?
2005-07-19 21:22:24 +00:00