Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1251688

Bug#1108675: privatebin-cli: Show fails to show pastes

From Martin Dosch <martin@mdosch.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1108675: privatebin-cli: Show fails to show pastes
Date 2025-07-02 20:30 +0200
Message-ID <L4anv-eLTJ-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: privatebin-cli
Version: 2.0.2-1+b4
Severity: important
Tags: upstream
X-Debbugs-Cc: martin@mdosch.de

Dear Maintainer,

somehow privatebin fails to decrypt pastes:

```
privatebin show --insecure https://privatebin.net/\?2f2c7858a4af12a6\#BmLwqizKZ9YunVovgjheXTQm7e7c4TYAkvxq5JZv45WQ
panic: non GCM crypto is not supported

goroutine 1 [running]:
go.gearno.de/privatebin.newGCMWithNonceAndTagSize({0x90fde8?, 0xc000235800?}, 0x10?, 0x10?)
        go.gearno.de/privatebin/utils.go:108 +0xd8
go.gearno.de/privatebin.decrypt({0xc00011a09c, 0x20, 0x81}, {0xc0001ae540?, 0xc02660?}, {0xc0004e67e0, 0x5f, 0x60}, {{0xc0000e5878, 0x10, ...}, ...})
        go.gearno.de/privatebin/privatebin.go:492 +0x27f
go.gearno.de/privatebin.(*Client).ShowPaste(0xc0000b7e10, {0x90ffa0, 0xc02660}, {{0x7ffe0548bd24, 0x5}, {0x0, 0x0}, 0x0, {0x7ffe0548bd2c, 0xe}, ...}, ...)
        go.gearno.de/privatebin/privatebin.go:244 +0x8ee
main.init.func2(0xc0000fc300?, {0xc0000ae5c0?, 0x4?, 0x8660ef?})
        go.gearno.de/privatebin/cmd/privatebin/main.go:158 +0x169
github.com/spf13/cobra.(*Command).execute(0xb936c0, {0xc0000ae5a0, 0x2, 0x2})
        github.com/spf13/cobra/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xb933e0)
        github.com/spf13/cobra/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra/command.go:1041
main.main()
        go.gearno.de/privatebin/cmd/privatebin/main.go:314 +0x1a
```

```
privatebin show https://bin.mdosch.de/\?333302eddcd46ac2\#AKKnfpFsa4GyApzVTJNaAh343Y2bWSLE4L1adzDcuosZ
Error: cannot show paste: cannot decode response body: json: cannot unmarshal array into Go struct field showPasteResponse.meta of type privatebin.showPasteRequestMeta
```

Manually built from current upstream master
<https://github.com/gearnode/privatebin/commit/07838ac5b4133dd293c537144891a7fec8b77b6b> shows the same behavior.

Best regards,
Martin

-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.32-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages privatebin-cli depends on:
ii  libc6  2.41-9

privatebin-cli recommends no packages.

privatebin-cli suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1108675: privatebin-cli: Show fails to show pastes Martin Dosch <martin@mdosch.de> - 2025-07-02 20:30 +0200

csiph-web