1. 21 Oct, 2021 1 commit
    • Kip Warner's avatar
      meson.build: Fix broken check for atomic support. This broke on risc64. The... · c22cbbb8
      Kip Warner authored
      meson.build: Fix broken check for atomic support. This broke on risc64. The removed lines are redundant with their subsequent two because they verify the actual code, and not implementation details that may vary...
      meson.build: Bumped version metadata to 0.0.003 and set soname major version to 1 in preparation for ABI freeze and upcoming first stable release...
      c22cbbb8
  2. 02 Oct, 2021 5 commits
  3. 30 Sep, 2021 2 commits
  4. 28 Sep, 2021 7 commits
  5. 27 Sep, 2021 3 commits
  6. 20 Sep, 2021 1 commit
  7. 17 Sep, 2021 2 commits
  8. 15 Sep, 2021 7 commits
  9. 13 Sep, 2021 2 commits
  10. 12 Sep, 2021 1 commit
  11. 03 Sep, 2021 2 commits
  12. 30 Aug, 2021 2 commits
  13. 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
  14. 10 Aug, 2021 2 commits
  15. 05 Aug, 2021 2 commits