AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 775607
Accepted
dotancohen
dotancohen
Asked: 2016-05-10 01:36:51 +0800 CST2016-05-10 01:36:51 +0800 CST 2016-05-10 01:36:51 +0800 CST

在 CentOS 7 上安装 Blowfish2 以在 VIM 中使用

  • 772

我正在从基于 Debian 的发行版迁移到 CentOS 7。我有使用河豚加密的文件,我在 VIM 中使用以下设置透明地编辑这些文件~/.vimrc:

:set cryptmethod=blowfish2

这是我收到的错误:

E474:无效参数:cryptmethod=blowfish2

但是,我似乎在 CentOS 中找不到合适的软件包。我已经安装了以下软件包,但仍然出现错误:

$ sudo yum install bcrypt cryptsetup-python libcryptui py-bcrypt 

以下是所有似乎相关的软件包:

$ yum search bcrypt
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nonstop.co.il
 * epel: mirror.nonstop.co.il
 * extras: mirror.nonstop.co.il
 * updates: mirror.nonstop.co.il
============================= N/S matched: bcrypt ==============================
libcryptui-devel.i686 : Header files required to develop with libcryptui
libcryptui-devel.x86_64 : Header files required to develop with libcryptui
rubygem-bcrypt.x86_64 : Wrapper around bcrypt() password hashing algorithm
rubygem-bcrypt-doc.x86_64 : Documentation for rubygem-bcrypt
bcrypt.x86_64 : File encryption utility
cryptsetup-python.x86_64 : Python bindings for libcryptsetup
libcryptui.i686 : Interface components for OpenPGP
libcryptui.x86_64 : Interface components for OpenPGP
py-bcrypt.x86_64 : Python bindings for OpenBSD's Blowfish password hashing code

  Name and summary matches only, use "search all" for everything.

$ yum search blowfish
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nonstop.co.il
 * epel: mirror.nonstop.co.il
 * extras: mirror.nonstop.co.il
 * updates: mirror.nonstop.co.il
============================ N/S matched: blowfish =============================
perl-Crypt-Eksblowfish.x86_64 : Eksblowfish block cipher
php-horde-Horde-Crypt-Blowfish.noarch : Blowfish Encryption Library
php-pear-Crypt-Blowfish.noarch : Quick two-way blowfish encryption
php-phpseclib-crypt-blowfish.noarch : Pure-PHP implementation of Blowfish
py-bcrypt.x86_64 : Python bindings for OpenBSD's Blowfish password hashing code

  Name and summary matches only, use "search all" for everything
vim encryption centos7
  • 2 2 个回答
  • 973 Views

2 个回答

  • Voted
  1. Best Answer
    Michael Hampton
    2016-05-10T01:46:54+08:002016-05-10T01:46:54+08:00

    CentOS 7 附带 vim 7.4.160。但是, cryptmethod=blowfish2 需要vim 7.4.401 或更高版本。

    无论如何,您可能应该使用全盘加密和更仔细审查的加密,例如 OpenPGP。cryptmethod=blowfish2 一开始就存在的原因是 cryptmethod=blowfish 被严重破坏了。而且它与任何东西都不兼容。

    • 1
  2. dotancohen
    2016-05-10T02:13:59+08:002016-05-10T02:13:59+08:00

    问题是 CentOS 7 附带 VIM 7.4.160,正如Michael Hampton指出的我们需要 7.4.401。在评论中,我提到了如何安装后来的 VIM,这里是那些可能跟随我脚步的人的完整说明。所有功劳归功于 Michael 确定了问题,并归功于此 Gist提出了正确的configure路线:

    git clone https://github.com/vim/vim.git
    cd vim/
    ./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp
    make
    sudo make install
    
    • 0

相关问题

  • Windows Powershell Vim 键绑定

  • 如何使用 VIM 编辑表格数据(表格)?具体来说,BIND(命名)DNS db 文件

  • 无法在 Vim 中突出显示活动的 eol 字符

  • 您可以在诺基亚 N810 上使用什么 $TERM 值,以便 Vim 的键映射正常工作?

  • 系统管理员 .vimrc 中的条目建议

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve