rage是一个简单、现代、安全的文件加密工具,使用age格式。它的特点是小的显式密钥,没有配置选项,以及UNIX风格的可组合性。
Usage:rage[--encrypt]-rRECIPIENT[-iIDENTITY][-a][-oOUTPUT][INPUT]rage--decrypt[-iIDENTITY][-oOUTPUT][INPUT]Positionalarguments:INPUTPathtoafiletoreadfrom.Optionalarguments:-h,--helpPrintthishelpmessageandexit.-V,--versionPrintversioninfoandexit.-e,--encryptEncrypttheinput(thedefault).-d,--decryptDecrypttheinput.-p,--passphraseEncryptwithapassphraseinsteadofrecipients.--max-work-factorWFMaximumworkfactortoallowforpassphrasedecryption.-a,--armorEncrypttoaPEMencodedformat.-r,--recipientRECIPIENTEncrypttothespecifiedRECIPIENT.Mayberepeated.-R,--recipients-filePATHEncrypttotherecipientslistedatPATH.Mayberepeated.-i,--identityIDENTITYUsetheidentityfileatIDENTITY.Mayberepeated.-o,--outputOUTPUTWritetheresulttothefileatpathOUTPUT.INPUTdefaultstostandardinput,andOUTPUTdefaultstostandardoutput.RECIPIENTcanbe:-Anagepublickey,asgeneratedbyrage-keygen("age1...").-AnSSHpublickey("ssh-ed25519AAAA...","ssh-rsaAAAA...").PATHisapathtoafilecontainingagerecipients,oneperline(ignoring"#"prefixedcommentsandemptylines).IDENTITYisapathtoafilewithageidentities,oneperline(ignoring"#"prefixedcommentsandemptylines),ortoanSSHkeyfile.Multipleidentitiesmaybeprovided,andanyunusedoneswillbeignored.点击空白处退出提示
评论