1. 15 Sep, 2021 1 commit
    • Andrea Pappacoda's avatar
      ci: add conventional commits check · d992f35e
      Andrea Pappacoda authored
      Conventional Commits is a specification that aims at improving commit
      messages and history.
      
      It consists of a simple canonical format for commit messages:
      type(optional scope): description
      
      Having a small list of types helps understand when a change is breaking,
      when it adds a feature, where it patches something, or when it is
      unrelated to the main library (build system changes, CI, tests...).
      
      This is really useful when determing when to release and what type of
      release should be made (major, minor, or patch release).
      d992f35e
  2. 13 Sep, 2021 2 commits
  3. 12 Sep, 2021 1 commit
  4. 03 Sep, 2021 2 commits
  5. 30 Aug, 2021 2 commits
  6. 27 Aug, 2021 1 commit
    • Louis Solofrizzo's avatar
      [SERVER] ssl: Add the possibility for the user to set a password callback · 27c0c9ed
      Louis Solofrizzo authored
      In order to use passphrase-protected keys.
      This patch does not change the default behavior:
      
          server.useSSL("./cert/server.crt", "./cert/server.key");
          $> ./a.out
          Enter PEM pass phrase:
          [...]
      
          static int password_callback(char *buf, int size, int rwflag, void *u)
          {
              static const char *password = "foobar"; // _Please_ don't do that, that's an example
              strncpy(buf, password, size);
              return strlen(password);
          }
      
          server.useSSL("./cert/server.crt", "./cert/server.key", false, &password_callback);
          $> ./a.out
          Listening on 0.0.0.0:9080
      
      Key has been generated with:
      
          $> openssl genrsa -aes128 -passout pass:foobar -out server.key 3072
      
      If you intend to use this feature, please look at the recent
      developments on memfd_secret[1] in order to actually store a passphrase
      with relative security in memory.
      
      [1] https://lwn.net/Articles/865256/Signed-off-by: default avatarLouis Solofrizzo <lsolofrizzo@scaleway.com>
      27c0c9ed
  7. 10 Aug, 2021 2 commits
  8. 05 Aug, 2021 2 commits
  9. 07 Jul, 2021 8 commits
  10. 05 Jul, 2021 2 commits
  11. 02 Jul, 2021 1 commit
  12. 01 Jul, 2021 1 commit
    • Andrea Pappacoda's avatar
      Add support for multiple archs in autopkgtest CI · 86024bae
      Andrea Pappacoda authored
      This took **a lot** of time, as autopkgtest-build-qemu has been able to
      build non-x86 for less than a release (version 5.17, unreleased),
      and it isn't meant to be (easly) used on Ubuntu (and unfortunately GH
      Actions only support Ubuntu).
      
      This is extremely fragile; adding a CPU core breaks something, adding a
      MB of RAM breaks something, installing recommended packages breaks
      something... you get it. But it works. Beautiful, isn't it?
      
      This currently tests amd64, arm64. armhf, i386 and ppc64el. s390x seems
      unsupported by autopkgtest-build-qemu.
      
      If you're curious to see how many trials it took, have a look at this
      test branch:
      github.com/Tachi107/pistache/tree/actions-autopkgtest-multiarch-test
      86024bae
  13. 28 Jun, 2021 6 commits
  14. 27 Jun, 2021 3 commits
  15. 26 Jun, 2021 3 commits
    • Kip's avatar
      Merge pull request #943 from Tachi107/reuse.software · eb2aa7f2
      Kip authored
      Make Pistache REUSE compliant
      eb2aa7f2
    • Andrea Pappacoda's avatar
      1f0e920e
    • Andrea Pappacoda's avatar
      Make Pistache REUSE compliant · 4f62cd7a
      Andrea Pappacoda authored
      Reuse is a specification that aims at making licensing of open source
      software easier. You basically have to include an SPDX header in all
      files, and when this isn't possible you create a file named
      filename.license containing the header. While I find this a bit too much
      this is also the only way of reliably determining the license and the
      copyright holder of a certain file.
      
      The use of SPDX tags has been adopted by projects like the Linux Kernel
      (torvalds/linux/commit/a61127c2130236168321cc76c5a58e15c00ad154),
      systemd, etc, and I find it way better that including a long copyright
      notice on top of every file.
      
      I didn't add any email address, but if you'd like to it is completely
      possible to add them in the SPDX-FileCopyrightText tag, between angle
      brackets.
      
      The specification is available on https://reuse.software
      4f62cd7a
  16. 21 Jun, 2021 3 commits