DPASTE(1)

πŸ’– DPASTE(1) πŸ’–

okay bestie, sit down, hydrate, because today we're talking about dpaste β€” a simple pastebin for light values (max 64KB) using OpenDHT distributed hash table. yes you heard me. distributed. hash. table. it's giving ✨peer-to-peer✨ and I'm obsessed.


🌸 SYNOPSIS 🌸

dpaste -h

dpaste -v

dpaste [options...]

dpaste -g code [options...]

like. look at that. four whole moods. pick one. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe. by default, dpaste reads its standard input and pastes that file onto OpenDHT. that's it, that's the whole thing, no cap.

but if you wanna fetch a file back? you gotta bring the code that goes with it, and you hand it over with the -g flag. that's your ticket, your little key, your πŸŽ€ code πŸŽ€. no code, no file. periodt.


✨ OPTIONS ✨

  • -h β€” prints some help. that's it, that's the whole job. a lil helper. 🫢
  • -v β€” shows the version of the program. know what you're running, bestie.
  • -g code, --get code β€” specifies the code code used to recover the file on the DHT. this is the one that gets your file back. your golden ticket. πŸ”₯
  • --aes-encrypt β€” use AES scheme for encryption. and the password? automatically saved in the returned code, which looks like "dpaste:XXXXXX". so cute, so convenient, so locked down. πŸ’œ
  • --gpg-encrypt β€” use GPG scheme for encryption. for when you're feeling cryptographic and fancy. πŸ”
  • -r recipient, --recipients recipient β€” specify the list of recipients to use for GPG encryption (--gpg--encrypt). use -r multiple times to specify a list of recipients. yes, stack 'em. multiple recipients? multiple -rs. iconic.
  • -s, --sign β€” tells wether message should be signed using the user's GPG key. and listen, the key has to be configured through the configuration file ($XDG_CONFIG_DIR/dpaste.conf, keyword: pgp_key_id). so set that up first, okay? don't come crying to me. 😭
  • --no-decrypt β€” tells dpaste not to decrypt PGP data and rather output it on stdout. raw. unfiltered. straight to stdout. πŸ‘‘
  • --self-recipient β€” include self as recipient. "self" refers to the key id configured for signing (see --sign description). and heads up: this only takes effect if option -e is also used. yes, -e. it's right there in the original. I don't make the rules, I just report them. πŸ’€

🌈 RETURN CODE 🌈

  • the program returns 0 on success. πŸŽ‰
  • otherwise 1 is returned. πŸ™ˆ

that's it. binary. no in-between. main character energy only.


🧚 FILES 🧚

  • $XDG_CONFIG_DIR/dpaste.conf β€” main configuration file where. dpaste will look for this file to recover complementary information.

(yes, "where." β€” the sentence just. does that. I'm leaving it, it's part of the lore now. πŸ“)


⭐ AUTHORS ⭐

  • Simon DΓ©saulniers <sim.desaulniers@gmail.com>
  • Adrien BΓ©raud <adrien.beraud@savoirfairelinux.com>

two absolute legends. we stan. πŸ’–


and that's the page, bestie! this one's from the General Commands Manual era, dated 2017-06-26 β€” vintage, lowkey, still slaps. go paste something (max 64KB tho, don't be greedy πŸ’…βœ¨).

πŸ“¦ where this page comes from