Skip to content

Commit

Permalink
Remove cryptography
Browse files Browse the repository at this point in the history
As discussed in neovim#694, vim encryption uses old,
obsolete algorithms that are poorly implemented.
Since insecure cryptography is worse than no
cryptgraphy, the community voted in favor of
removing all crypto.

Various alternatives to the old crypto is
being discussed in neovim#701.

Closes neovim#694.
  • Loading branch information
schmee authored and tarruda committed May 20, 2014
1 parent 32d018b commit 85338fe
Show file tree
Hide file tree
Showing 33 changed files with 16 additions and 1,971 deletions.
1 change: 0 additions & 1 deletion config/config.h.in
Expand Up @@ -114,7 +114,6 @@
#define FEAT_COMPL_FUNC
#define FEAT_CONCEAL
#define FEAT_CON_DIALOG
#define FEAT_CRYPT
#define FEAT_CSCOPE
#define FEAT_CURSORBIND
#define FEAT_DIFF
Expand Down
622 changes: 0 additions & 622 deletions src/nvim/blowfish.c

This file was deleted.

13 changes: 0 additions & 13 deletions src/nvim/blowfish.h

This file was deleted.

2 changes: 0 additions & 2 deletions src/nvim/buffer.c
Expand Up @@ -1489,9 +1489,7 @@ void free_buf_options(buf_T *buf, int free_p_ff)
clear_string_option(&buf->b_p_inex);
clear_string_option(&buf->b_p_inde);
clear_string_option(&buf->b_p_indk);
clear_string_option(&buf->b_p_cm);
clear_string_option(&buf->b_p_fex);
clear_string_option(&buf->b_p_key);
clear_string_option(&buf->b_p_kp);
clear_string_option(&buf->b_p_mps);
clear_string_option(&buf->b_p_fo);
Expand Down
3 changes: 0 additions & 3 deletions src/nvim/buffer_defs.h
Expand Up @@ -582,7 +582,6 @@ struct file_buffer {
char_u *b_p_indk; /* 'indentkeys' */
char_u *b_p_fex; /* 'formatexpr' */
long_u b_p_fex_flags; /* flags for 'formatexpr' */
char_u *b_p_key; /* 'key' */
char_u *b_p_kp; /* 'keywordprg' */
int b_p_lisp; /* 'lisp' */
char_u *b_p_mps; /* 'matchpairs' */
Expand Down Expand Up @@ -674,8 +673,6 @@ struct file_buffer {
dictitem_T b_bufvar; /* variable for "b:" Dictionary */
dict_T *b_vars; /* internal variables, local to buffer */

char_u *b_p_cm; /* 'cryptmethod' */

/* When a buffer is created, it starts without a swap file. b_may_swap is
* then set to indicate that a swap file may be opened later. It is reset
* if a swap file could not be opened.
Expand Down
237 changes: 0 additions & 237 deletions src/nvim/crypt.c

This file was deleted.

82 changes: 0 additions & 82 deletions src/nvim/crypt.h

This file was deleted.

0 comments on commit 85338fe

Please sign in to comment.