emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lexbind: how to replace lexical-let approach to hide secrets


From: Stephen J. Turnbull
Subject: Re: lexbind: how to replace lexical-let approach to hide secrets
Date: Fri, 01 Apr 2011 10:31:01 +0900

Ted Zlatanov writes:

 > IMHO this should be done by Emacs; the core should provide a way to tag
 > strings as "secret" so they are wiped on deallocation.

I don't see why this is better than the method already used, since you
would have to use a different call to make such strings.  In the end
it's up to the application to manage these secrets.

 > I think this property should propagate when the string is copied.

But what about the storage the string is copied from?  Really, keeping
secrets is up to the application.  I think this is overkill, and won't
really help naive users keep their secrets.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]