void touchFile() should return the boolean result of the setLastModified

2009-11-03 Thread Peter_Lenahan
This is an issue found by Findbugs. In the file FSDirectory the method void touchFile() should return the boolean result of the setLastModified method call. public abstract class FSDirectory extends Directory { @Override public void touchFile(String name) { ensureOpen(); File file =

RE: Lucene Index Encryption

2009-05-08 Thread Peter_Lenahan
You are correct, other vulnerabilities will of course be the Swap file, which is much easier to dump than the memory contents, since it may persist even when the process dies or the machine is turned off, and of course a process dump or snapshot file. In either case, those cracks would be on a sys

Re: Lucene Index Encryption

2009-05-08 Thread Peter_Lenahan
Michael, Thanks for the comments they are very insightful. I hadn't thought about the Random Access issues until you brought it up. This makes the project a little tougher, but not impossible. I was searching last night and there have been a couple of papers written on the topic of Encrypt

Re: Lucene Index Encryption

2009-05-07 Thread Peter_Lenahan
Michael, Thanks for the comments they are very insightful. I hadn't thought about the Random Access issues until you brought it up. This makes the project a little tougher, but not impossible. I was searching last night and there have been a couple of papers written on the topic of Encrypted

Lucene Index Encryption

2009-05-04 Thread Peter_Lenahan
I hope to make this a discussion rather than a request for a feature. In the database world, secure data is always encrypted in the database. Since I am interested in storing data from a database in the index, at times I want to encrypt the index when the file is one disk. Currently data stored