Page MenuHomeFreeBSD

remove bdes(1)
ClosedPublic

Authored by allanjude on Feb 3 2017, 1:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 7:24 PM
Unknown Object (File)
Wed, Dec 11, 8:05 PM
Unknown Object (File)
Tue, Dec 3, 10:11 AM
Unknown Object (File)
Fri, Nov 29, 7:12 AM
Unknown Object (File)
Mon, Nov 25, 12:40 PM
Unknown Object (File)
Mon, Nov 25, 9:37 AM
Unknown Object (File)
Sun, Nov 24, 8:18 AM
Unknown Object (File)
Sun, Nov 24, 3:16 AM

Details

Reviewers
brnrd
bapt
Group Reviewers
manpages
Commits
rS313329: Remove bdes(1)
Summary

this utility is useless and should be removed

See also Review D9435

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude retitled this revision from to remove bdes(1).
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: bapt, brnrd.

Is it useless? ISTR using bdes in the not-too-distant past...

Ah, I remembered the context! bdes was involved in decrypting the video of one of Kirk's lecture series.

bapt edited edge metadata.

Don't forget the obsoletefiles

This revision is now accepted and ready to land.Feb 3 2017, 3:09 PM

While certainly bdes has no place in being used for a new crypto anything,
I think it is a useful tool to have around, for being able to read old files
that have been encrypted that way.

I might even be in favor of this if there was an equivalent port available,
but a quick check of /usr/ports/security doesn't trivially show anything
with equivalent functionality.

one can use openssl for that :)

wblock added inline comments.
bin/ed/ed.1
2 ↗(On Diff #24681)

Bump .Dd.

In D9424#194723, @bapt wrote:

one can use openssl for that :)

It turns out, bdes does its own special thing to deal with a partial block at the end of the ciphered message. So when you decrypt it with openssl, you get an error, and the last 1-7 bytes of the message are cut off. (DES uses an 8 byte block size).

Kirk's website already offers a tarball of bdes you can download to decrypt his videos. If someone wants to create that as a port, that is fine with me, but i don't think we should keep it in the base system.

brnrd edited edge metadata.
This revision was automatically updated to reflect the committed changes.