Dr. Charles E. Campbell wrote:
> I just decided to try out the crypt stuff; I note that the document says
> "Since the value of the 'key' option is supposed to be a secret, its
> value can never be viewed."
> However, :set key shows the key value quite clearly, both the first
> time it gets set and the file written and subsequently after the file
> is decrypted and read back in.
I think bram enjoy holiday.
So, I made a patch. Was very simple.
--- option.c 2000/09/01 01:27:20 184.108.40.206
+++ option.c 2000/09/05 14:46:35
@@ -6644,7 +6644,7 @@
NameBuff = NUL;
/* don't show the actual value of 'key', only that it's set */
- if (opp->var == (char_u *)PV_KEY && *varp)
+ if (opp->var == (char_u *)&p_key && *varp)
else if (opp->flags & P_EXPAND)