Update `pijul/src/main.rs` to use new identity management

finchie
Aug 16, 2022, 9:04 AM
TI7PCK7JLPU4KYE65XIMBUPPY7DRPVDAETPDFMG3VAQGGDRGQHPQC

Dependencies

  • [2] OFQY3GUU Formatting and versions
  • [3] QL6K2ZM3 Tags
  • [4] JL4WKA5P Implement the Sanakirja concurrency model in a cross-process way
  • [5] A3RM526Y Integrating identity malleability
  • [6] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [7] OKE6SXPP improve docs, feedback for pijul key
  • [8] R245EVN3 Do not print anything on broken pipe errors
  • [9] EEBKW7VT Keys and identities
  • [10] SNZ3OAMC use native external subcommand support instead of hand-rolled one
  • [11] RUBBHYZ7 Removing unnecessary async/await
  • [12] LJFJEX43 Fixing newline issues in the protocol over OpenSSH
  • [13] RJMQSZER External commands
  • [*] BNPSVXIC Friendlier progress bars

Change contents

  • edit in pijul/src/main.rs at line 3
    [3.84234]
    [15.11606]
    mod identity;
  • replacement in pijul/src/main.rs at line 128
    [3.1][3.19:57]()
    /// Key generation and management
    [3.1]
    [2.0]
    /// Identity management
  • replacement in pijul/src/main.rs at line 130
    [2.8][3.66:197](),[3.66][3.66:197](),[3.197][3.24:38](),[3.24][3.24:38]()
    /// Pijul keys are separate from a user's SSH keys. More information
    /// can be found in the `Keys` section of the manual.
    Key(Key),
    [2.8]
    [3.25]
    /// A collection of tools for interactively managing the user's identities.
    /// This may be useful if you use Pijul in multiple contexts, for example
    /// both work & personal projects.
    #[clap(alias = "id", alias = "key")]
    Identity(IdentityCommand),
  • replacement in pijul/src/main.rs at line 147
    [3.169][3.12661:12693]()
    log::debug!("{:?}", e);
    [3.169]
    [3.0]
    // This will only activate with the following environment variables:
    // RUST_BACKTRACE=1 RUST_LOG=error
    log::error!("Error backtrace: {:#?}", e.backtrace());
  • replacement in pijul/src/main.rs at line 237
    [3.88578][3.170:222]()
    SubCommand::Record(record) => record.run(),
    [3.88578]
    [3.231]
    SubCommand::Record(record) => record.run().await,
  • replacement in pijul/src/main.rs at line 259
    [3.984][3.984:1027](),[3.1027][3.39:88](),[3.64][3.39:88]()
    SubCommand::Tag(tag) => tag.run(),
    SubCommand::Key(key) => key.run().await,
    [3.984]
    [3.600]
    SubCommand::Tag(tag) => tag.run().await,
    SubCommand::Identity(identity_wizard) => identity_wizard.run().await,