[Bug 1989579] Re: Incorrect pbget/pbput/pbputs(1) manual page

Nick Rosbrook 1989579 at bugs.launchpad.net
Thu Sep 15 20:36:47 UTC 2022


It would be good to update the man pages for correctness.

** Changed in: pastebinit (Ubuntu)
       Status: New => Triaged

** Changed in: pastebinit (Ubuntu)
   Importance: Undecided => Low

** Tags added: bitesize

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pastebinit in Ubuntu.
https://bugs.launchpad.net/bugs/1989579

Title:
  Incorrect pbget/pbput/pbputs(1) manual page

Status in pastebinit package in Ubuntu:
  Triaged

Bug description:
  That manual page says (at the end of the"DESCRIPTION" section):

      In any case the uploaded/downloaded data is optionally tar(1) archived, always
      lzma(1) compressed, optionally gpg(1) encrypted, and always base64(1) encoded.
      http://pastebin.com is used by default.

  NO. Both pbput & pbputs are hardwired to use paste.ubuntu.com (for
  which pastebinit(1) appears to be configured to uses HTTPS, not HTTP),
  and an alternative site cannot be specified (from manual inspection of
  the /usr/bin/pbput script).  An alternative site URL can only be
  specified with pbget.

  All of the examples in the "EXAMPLES" section use the default, which
  is incorrectly shown as pastebin.com

  In addition, but not mentioned in the manual page, both pbput & pbputs
  have the very surprising behaviour (again, from script inspection)
  that when given one argument, which is not readable (and not empty),
  it is assumed to be a GPG_USER (for gpg encryption).  Hence, a typo
  (e.g.) in the intended FILENAME is going to do something very strange:
  Both will read stdin, albeit only pbputs will then (try to) encrypt.
  There is no warning or error message per se (except, I presume, for
  pbputs when there is no such GPG_USER (from gpg)?).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: pastebinit 1.5.1-1ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
  Uname: Linux 5.15.0-47-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Wed Sep 14 12:04:55 2022
  InstallationDate: Installed on 2020-10-19 (694 days ago)
  InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  SourcePackage: pastebinit
  UpgradeStatus: Upgraded to jammy on 2022-09-04 (9 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1989579/+subscriptions




More information about the foundations-bugs mailing list