Skip to content
Snippets Groups Projects
  1. Jul 03, 2023
    • Gijs Peskens's avatar
      New SRP crypto module · 04ba78ab
      Gijs Peskens authored
      Clean re-implementation of imported SRP code that fixes some bugs and adds support for other crypto backends.
      
      We now fully support all crypto via either MbedTLS or GnuTLS+Nettle+GMP, though for now MbedTLS remains preferred.
      
      During the rewrite a bug was found in the old imported code that leads to incorrect hashes when mbedtls_sha256_update was used.
      This bug unfortunately creates an incompatibility between wrongly and correctly hashing versions.
      For compatibility reasons we still support the wrong hashing (only via MbedTLS), this is detected at runtime via signalled rist gre version (old versions had version set to 0, the spec allows for version 1).
      This also affects generated SRP files.
      An extra identifier is added to each line to differentiate between broken and correct hashing.
      Thus it's strongly recommended to update SRP files with correct hashing.
      The ristsrppassword utility is updated to generate both correct and wrong hashes.
      Calling applications should take care to use the new lookup callback and supply the correctly hashed verifier & salt when called with hashversion >= 1
      
      Also added to the lookup callback is a generation variable, which allows libRIST to cache verifier & salt.
      
      We now also have (partial) unit tests for the SRP code, based on the example constants written in the spec. The example constants are unfortunately generated with the wrong hashing algorithm.
      04ba78ab
    • Gijs Peskens's avatar
      Add SRP to testing · 6fb343f6
      Gijs Peskens authored
      6fb343f6
    • Gijs Peskens's avatar
      Support PSK encryption via Nettle · 3670f4c2
      Gijs Peskens authored
      3670f4c2
  2. Jun 16, 2023
  3. Jun 15, 2023
  4. Apr 18, 2023
  5. Mar 27, 2023
  6. Mar 17, 2023
    • Gijs Peskens's avatar
      Prometheus/OpenMetrics metric output · 9f09a3de
      Gijs Peskens authored
      This will enable the tools applications to export stats in Prometheus
      (OpenMetrics) format.
      Output is available either via HTTP (libmicrohttpd) or on a unix domain
      socket.
      9f09a3de
  7. Mar 13, 2023
  8. Mar 10, 2023
  9. Mar 02, 2023
  10. Feb 15, 2023
  11. Feb 13, 2023
  12. Aug 13, 2022
  13. Apr 08, 2022
Loading