rage是一个简单、现代、安全的文件加密工具,使用age格式。它的特点是小的显式密钥,没有配置选项,以及UNIX风格的可组合性。
Usage:rage[--ecrypt]-rRECIPIENT[-iIDENTITY][-a][-oOUTPUT][INPUT]rage--decrypt[-iIDENTITY][-oOUTPUT][INPUT]Positioalargumets:INPUTPathtoafiletoreadfrom.Optioalargumets:-h,--helpPritthishelpmessageadexit.-V,--versioPritversioifoadexit.-e,--ecryptEcrypttheiput(thedefault).-d,--decryptDecrypttheiput.-p,--passphraseEcryptwithapassphraseisteadofrecipiets.--max-work-factorWFMaximumworkfactortoallowforpassphrasedecryptio.-a,--armorEcrypttoaPEMecodedformat.-r,--recipietRECIPIENTEcrypttothespecifiedRECIPIENT.Mayberepeated.-R,--recipiets-filePATHEcrypttotherecipietslistedatPATH.Mayberepeated.-i,--idetityIDENTITYUsetheidetityfileatIDENTITY.Mayberepeated.-o,--outputOUTPUTWritetheresulttothefileatpathOUTPUT.INPUTdefaultstostadardiput,adOUTPUTdefaultstostadardoutput.RECIPIENTcabe:-Aagepublickey,asgeeratedbyrage-keyge("age1...").-ASSHpublickey("ssh-ed25519AAAA...","ssh-rsaAAAA...").PATHisapathtoafilecotaiigagerecipiets,oeperlie(igorig"#"prefixedcommetsademptylies).IDENTITYisapathtoafilewithageidetities,oeperlie(igorig"#"prefixedcommetsademptylies),ortoaSSHkeyfile.Multipleidetitiesmaybeprovided,adayuusedoeswillbeigored.点击空白处退出提示
评论