Skip to content

v0.18.0

Latest

Choose a tag to compare

@orhun orhun released this 14 Aug 10:14
9173719

Added

Upload a file with auto-generated password:

$ curl -F "protected=@secret.txt" "<server_address>"
https://paste.site.com/secret.txt
Password: aBcD1234EfGh5678IjKl9012

Download with Bearer token:

$ curl -H "Authorization: Bearer aBcD1234EfGh5678IjKl9012" https://paste.site.com/secret.txt

Or with Basic Auth:

$ curl -u "user:aBcD1234EfGh5678IjKl9012" https://paste.site.com/secret.txt

Note

Protected files cannot be combined with other paste types (oneshot, URL). The password is permanently tied to the file and cannot be changed. If the password is lost, the file becomes inaccessible. Password files are deleted automatically when the main file is deleted or expires.

  • Add item type to /list endpoint by @Bit38 in #587
  • Support deletion of all item types by @tessus in #592

Changed

  • Improve compound extension detection using mime_guess by @coko7 in #563

Fixed

  • Retrieval of password-protected files by @tessus in #603

Removed

New Contributors