1. 29 Sep, 2022 3 commits
  2. 22 Sep, 2022 1 commit
  3. 20 Sep, 2022 1 commit
    • Lars Wirzenius's avatar
      sq: write out manual pages for sq · 339af5f4
      Lars Wirzenius authored
      Generate an all-in-one manual page sq.1, and a separate manual page
      for each leaf level subcommand: sq-armor.1, seq-key-generate.1, etc.
      We've previously had a grouping of subcommands per top level
      subcommand: all sub-subcommands of "sq key" would go into sq-key.1.
      However, I found that to be hard to follow, as a reader. I prefer
      either all in one, or just the one subcommand in a page.
      
      Use custom code to generate the manual page, in sq/src/man.rs, because
      I wasn't happy with clap_mangen output, and wanted something more
      idiomatic. The custom code is a little specific for sq, and may or may
      not be possible to use for other programs.
      
      To trigger manual page generation, run sq with SQ_MAN set to the name
      of a directory where the manual pages should be written, when running
      sq. This was an easier way to do this than a new, hidden
      subcommand ("sq generate-man" or something like that).
      
      Add the roff crate as a dependency. It's used to generate troff source
      code for manual page...
      339af5f4
  4. 16 Sep, 2022 1 commit
    • Lars Wirzenius's avatar
      sq: port to new Subplot · 68f95642
      Lars Wirzenius authored
      Update the dependency on Subplot to 0.5.0.
      
      Subplot 0.5.0 requires document metadata (title, bindings files, etc)
      to be in its own YAML file, where previous versions required it to be
      embedded in Markdown (still as YAML). Move the metadata to sq.subplot
      and fix what breaks.
      
      Sponsored-by: pep.foundation
      68f95642
  5. 15 Sep, 2022 2 commits
  6. 09 Sep, 2022 1 commit
    • Neal H. Walfield's avatar
      ipc: Reexport capnp_rpc. · e0e51742
      Neal H. Walfield authored
        - Reexport the capnp_rpc crate to make it easier to users of the ipc
          library to use the same version of capnp_rpc as the ipc library.
      
        - This is needed, because some `capnp_rpc` types are part of the
          public API (specifically, the `Handler::handle` function).
      e0e51742
  7. 07 Sep, 2022 3 commits
  8. 06 Sep, 2022 2 commits
  9. 16 Aug, 2022 1 commit
    • Wiktor Kwapisiewicz's avatar
      openpgp: Expose `HashAlgorithm::oid()` on all crypto backends. · c4e6642f
      Wiktor Kwapisiewicz authored
        - Expose `oid()` function for all cryptographic backends.
      
        - Fix the description to accurately describe the bytes that are being
          returned.
      
        - Add the reference and note to the common use of this function.
      
        - Add practical example of computing the entire `DigestInfo`
          structure.
      
        - Add mention of the change to the NEWS file.
      
        - Add test case to check if the values match what Nettle is using.
      
        - Fixes #919.
      c4e6642f
  10. 15 Aug, 2022 6 commits
  11. 11 Aug, 2022 4 commits
  12. 09 Aug, 2022 1 commit
  13. 29 Jul, 2022 1 commit
  14. 28 Jul, 2022 1 commit
    • Justus Winter's avatar
      openpgp: Fix subtraction with overflow. · c54ccf9d
      Justus Winter authored
        - When the decryptor returns a short session key without reporting
          an error, an overflow occurs.  Avoid this by using saturating
          subtraction.  Then, the resulting range is empty, and an error
          will be reported just a few lines down.
      
        - Fixes #913.
      c54ccf9d
  15. 21 Jul, 2022 1 commit
    • Daniel Kahn Gillmor's avatar
      sq: relax serde_json dependency to 1.0.80 · 992b394d
      Daniel Kahn Gillmor authored and Lars Wirzenius's avatar Lars Wirzenius committed
      This is the most conservative possible relaxation of the dependency,
      and it makes the tool buildable on debian stable, where serde_json is
      currently blocked by a confusing mess (https://bugs.debian.org/1015743)
      
      I suspect it could be relaxed even further (best would be serde_json =
      "1"), but i haven't tested it against serde 1.0.0, and this change is
      sufficient for my purposes for now.
      992b394d
  16. 20 Jul, 2022 8 commits
  17. 19 Jul, 2022 2 commits
  18. 15 Jul, 2022 1 commit