Skip to content
Snippets Groups Projects
  1. Aug 23, 2024
  2. Aug 22, 2024
  3. Aug 21, 2024
  4. Aug 20, 2024
  5. Aug 18, 2024
    • Mathijs van Veluw's avatar
      Fix Vaultwarden Admin page error messages (#4869) · 669b9db7
      Mathijs van Veluw authored
      Since the change to camelCase variables the error messages in the
      Vaultwarden Admin were not shown correctly anymore.
      
      This PR fixes this by changing the case of the json key's.
      Also updated the save and delete of the config to provide a more
      descriptive error instead of only `Io` or which ever other error might
      occure.
      
      Fixes #4834
      669b9db7
  6. Aug 17, 2024
  7. Aug 15, 2024
  8. Aug 13, 2024
  9. Aug 11, 2024
  10. Aug 09, 2024
  11. Aug 08, 2024
  12. Aug 07, 2024
  13. Aug 01, 2024
  14. Jul 31, 2024
    • Mathijs van Veluw's avatar
      Secure send file uploads (#4810) · c28246cf
      Mathijs van Veluw authored
      Currently there are no checks done during the actual upload of the file of a send item.
      This PR adds several checks to make sure it only accepts the correct uploads.
      c28246cf
  15. Jul 30, 2024
  16. Jul 25, 2024
  17. Jul 24, 2024
    • Mathijs van Veluw's avatar
      Allow to increase the note size to 100_000 (#4772) · b428481a
      Mathijs van Veluw authored
      This PR adds a config option to allow the note size to increase to 100_000, instead of the default 10_000.
      Since this might cause issues with the clients (in the future), and will cause issues with importing into a Bitwarden server, i added warnings regarding this.
      
      Closes #3168
      b428481a
    • 0x0fbc's avatar
      Add support for MFA with Duo's Universal Prompt (#4637) · b4b27019
      0x0fbc authored
      
      * Add initial working Duo Universal Prompt support.
      
      * Add db schema and models for Duo 2FA state storage
      
      * store duo states in the database and validate during authentication
      
      * cleanup & comments
      
      * bump state/nonce length
      
      * replace stray use of TimeDelta
      
      * more cleanup
      
      * bind Duo oauth flow to device id, drop redundant device type handling
      
      * drop redundant alphanum string generation code
      
      * error handling cleanup
      
      * directly use JWT_VALIDITY_SECS constant instead of copying it to DuoClient instances
      
      * remove redundant explicit returns, rustfmt
      
      * rearrange constants, update comments, error message
      
      * override charset on duo state column to ascii for mysql
      
      * Reduce twofactor_duo_ctx state/nonce column size in postgres and maria
      
      * Add fixes suggested by clippy
      
      * rustfmt
      
      * Update to use the make_http_request
      
      * Don't handle OrganizationDuo
      
      * move Duo API endpoint fmt strings out of macros and into format! calls
      
      * Add missing indentation
      
      Co-authored-by: default avatarDaniel García <dani-garcia@users.noreply.github.com>
      
      * remove redundant expiry check when purging Duo contexts
      
      ---------
      
      Co-authored-by: default avatarBlackDex <black.dex@gmail.com>
      Co-authored-by: default avatarDaniel García <dani-garcia@users.noreply.github.com>
      b4b27019
    • Timshel's avatar
      de66e56b
  18. Jul 23, 2024
  19. Jul 17, 2024
    • Mathijs van Veluw's avatar
      b27e6e30
    • Mathijs van Veluw's avatar
      Fix for RSA Keys which are read only (#4744) · 505b30ee
      Mathijs van Veluw authored
      * Fix for RSA Keys which are read only
      
      Sometimes an RSA Key file could be read only.
      We currently failed because we also wanted to write.
      Added an extra check if the file exists already and is not 0 in size.
      If it does already exists and is larger then 0, then open in read only
      mode.
      
      Fixes #4644
      
      * Updated code to work atomically
      
      - Changed the code to work atomically
      - Also show the alert generated from `Io`
      
      * Fix spelling
      505b30ee
  20. Jul 12, 2024
    • Mathijs van Veluw's avatar
      Update admin interface (#4737) · 54bfcb8b
      Mathijs van Veluw authored
      - Updated datatables
      - Set Cookie Secure flag if the connection is https
      - Prevent possible XSS via Organization Name
        Converted all `innerHTML` and `innerText` to the Safe Sink version `textContent`
      - Removed `jsesc` function as handlebars escapes all these chars already and more by default
      54bfcb8b
    • Daniel García's avatar
      Improved HTTP client (#4740) · 035f694d
      Daniel García authored
      * Improved HTTP client
      
      * Change config compat to use auto, rename blacklist
      
      * Fix wrong doc references
      035f694d
  21. Jul 10, 2024
  22. Jul 08, 2024
    • Mathijs van Veluw's avatar
      Some fixes for emergency access (#4715) · d04b94b7
      Mathijs van Veluw authored
      - Add missing `Headers` parameter for some functions
         This allowed any request from allowing these endpoints by not validating the user correctly.
       - Changed the functions to retreive the emergency access record by
         using the user uuid which calls the endpoint, instead of validating afterwards.
         This is more secure and prevents the need of an if check.
Loading