summaryrefslogtreecommitdiffstats
path: root/tool/src/commands.rs
AgeCommit message (Collapse)Author
2018-07-02openpgp: Create a special Option-like type for PacketParser.Neal H. Walfield
- In the future, we want to return some summary information about a parsed packet sequence after the packet sequence is fully parsed. Currently, PacketParser::next() and PacketParser::recurse() consume the PacketParser and return None on EOF. Thus, even if the summary information were stored in the PacketParser, it becomes inaccessible on EOF. - This change introduces a new type, PacketParserResult, that contains either a PacketParser or a PacketParserEOF. PacketParserEOF is returned on EOF instead of None. Since it is a struct, it can hold only any information that we want to return to the caller.
2018-06-20Consistently call passwords password, not passwd or passphrase.Justus Winter
2018-06-14openpgp: Move Tag into the packet module.Justus Winter
2018-06-06tool: Implement 'split' subcommand to split OpenPGP messages.Justus Winter
2018-05-31tool: Implement encryption subcommand.Justus Winter
2018-05-31tool: Improve decryption command.Justus Winter
- When hex-dumping, add a newline before the hex dump. - Process PKESK and SKESK packets after the call to 'recurse()' avoiding the clone.
2018-05-28openpgp: Encrypt with n passphrases.Justus Winter
- Also support decryption with any SKESK in sq.
2018-05-11tool: Allow hex-dumping when decrypting data.Justus Winter
2018-05-03tool: Extend dump to write hexdumps with maps.Justus Winter
2018-05-03tool: Move the decryption command to a new file.Justus Winter