bcrypt: no output with -o flag

Bug #1182617 reported by CIIR Systems Manager
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bcrypt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Decrpyting a file with bcrypt using the -o flag does not send the decrypted file to standard output as expected.

$ echo "hello" > test.txt
$ bcrypt test.txt
Encryption key:
Again:
$ bcrypt -o test.txt.bfe
Encryption key:
$ ls -l test*
-rw-r--r-- 1 drp ciir 6 May 21 15:00 test.txt
-rw-r--r-- 1 drp ciir 78 May 21 14:59 test.txt.bfe
$ cat test.txt
hello

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bcrypt 1.1-8
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Tue May 21 14:54:03 2013
InstallationDate: Installed on 2013-05-07 (14 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bcrypt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
CIIR Systems Manager (ciirsm) wrote :
Revision history for this message
Jeff Trull (jetrull) wrote :

Not only does it not send it to stdout, it silently stores it unencrypted on your disk. This is a recipe for bad security.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bcrypt (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeff Trull (jetrull) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.