vus520
V2EX  ›  问与答

如何给已经存在的私钥加密码

  •  
  •   vus520 · Apr 18, 2017 · 2248 views
    This topic created in 3490 days ago, the information mentioned may be changed or developed.

    有个私钥裸奔了多年,怎样给这个私钥加个新密码?

    5 replies  •  2017-04-19 10:14:27 +08:00
    dallaslu
    dallaslu
    Apr 18, 2017
    1
    openssl rsa -passout pass:abcdefg -in oo.key -out xx.key

    试试看,不知道行不行。
    vus520
    vus520
    OP
    Apr 18, 2017
    2
    @dallaslu 不行。
    nybux
    nybux
    Apr 18, 2017
    3
    ssh-keygen -p -f 私钥文件
    Balthild
    Balthild
    Apr 19, 2017 via Android
    4
    puttygen
    vus520
    vus520
    OP
    Apr 19, 2017❤️1
    5
    @nybux 可用,谢谢

    @dallaslu
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1924 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:49 · PVG 16:49 · LAX 00:49 · JFK 03:49
    ♥ Do have faith in what you're doing.