linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Security enhancement for UBIFS with secure erase feature
@ 2011-09-08 14:35 Stelling Carsten
  2011-09-11 13:22 ` Artem Bityutskiy
  0 siblings, 1 reply; 7+ messages in thread
From: Stelling Carsten @ 2011-09-08 14:35 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

< Are there any plans for such a security enhancement in UBIFS?

Hello Atlant,

you're right. Writing zeroes is not applicable to all kinds of flash technology.

Are there any plans to support privacy in UBIFS?

In my opinion privacy should be guaranteed by the file system, so that any
application can rely on its security features.

There're other solutions, e.g. to encrypt the content of each file with a unique
key stored in the metadata area of that particular file. Although this solution
needs to secure erase the key associated with the deleted file too.
I see, that might be a real dilemma.

Are there any suggestions?

Regards,

Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Security enhancement for UBIFS with secure erase feature
@ 2011-10-31 17:51 Stelling Carsten
  0 siblings, 0 replies; 7+ messages in thread
From: Stelling Carsten @ 2011-10-31 17:51 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

> However, I do not know if anyone will use this, hopefully yes!
Opened the thread in September, I know someone who 'll use it.
Joel, I haven't started development jet, and it's fine to hear that re-inventing the wheel is not necessary.

Carsten

-----Ursprüngliche Nachricht-----
Von: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Im Auftrag von Artem Bityutskiy
Gesendet: Sonntag, 30. Oktober 2011 13:52
An: Joel Reardon
Cc: linux-mtd@lists.infradead.org
Betreff: Re: Security enhancement for UBIFS with secure erase feature

Hi Joel,

On Thu, 2011-10-27 at 09:33 +0000, Joel Reardon wrote:
> So coincidentally I've been working on a secure deletion patch for 
> UBIFS. (I'm a grad student researching secure deletion here in 
> Zurich.) I'm mostly finished implementing it and the results are 
> really good. It works by encrypting each data node individually with a 
> different key, storing the keys in a (logically) fixed area, and then 
> periodically atomically updating the key blocks to purge the old 
> unwanted keys.

Sounds like a clever solution! It is curious to see how you made sure that all this is power-cut safe.

> I have a couple questions to ask the main developer, mostly about 
> orphans for which I found the documentation not quite clear. I'm quite 
> keen to get this integrated into UBIFS, however this will be the first 
> time I've contributed to the kernel so in this regard I'm unsure of 
> the best practices and so forth.

Well, ask questions, send patches. This sounds very interesting.
However, I do not know if anyone will use this, hopefully yes!

Artem.


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Security enhancement for UBIFS with secure erase feature
@ 2011-09-05 16:01 Stelling Carsten
  2011-09-08 11:18 ` Atlant Schmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Stelling Carsten @ 2011-09-05 16:01 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi everybody,

When building security relevant (embedded) applications, personal privacy
is of major importance.

Therefore it would be nice to have a configuration option to invalidate the
content of a deleted file in UBIFS. This feature shall allow an application to
ensure that, when a file is deleted, its contents are fully erased from the flash.
I.e. that each time a block is marked for erase, this block is written all zeros.
Writing zeros without erasing an entire page should be possible by design.

Giving such an option on a file by file basis (ioctl) would be optimal, because
wiping out the content of a deleted file is time and resource consuming and
not acceptable for all kinds of applications using UBIFS.

Are there any plans for such a security enhancement in UBIFS?

Regards

Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-31 17:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-08 14:35 Security enhancement for UBIFS with secure erase feature Stelling Carsten
2011-09-11 13:22 ` Artem Bityutskiy
2011-10-27  9:33   ` Joel Reardon
2011-10-30 12:51     ` Artem Bityutskiy
  -- strict thread matches above, loose matches on Subject: below --
2011-10-31 17:51 Stelling Carsten
2011-09-05 16:01 Stelling Carsten
2011-09-08 11:18 ` Atlant Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).