Page MenuHomeFreeBSD

remove bdes(1)

Authored by allanjude on Feb 3 2017, 1:39 PM.


Group Reviewers
rS313329: Remove bdes(1)

this utility is useless and should be removed

See also Review D9435

Diff Detail

rS FreeBSD src repository
Lint OK
No Unit Test Coverage
Build Status
Buildable 7154
Build 7325: arc lint + arc unit

Event Timeline

allanjude updated this revision to Diff 24681.Feb 3 2017, 1:39 PM
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.
rpokala added a subscriber: rpokala.Feb 3 2017, 2:14 PM

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 accepted this revision.Feb 3 2017, 3:09 PM
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.

bapt added a comment.Feb 3 2017, 3:17 PM

one can use openssl for that :)

wblock added a subscriber: wblock.Feb 3 2017, 6:01 PM
wblock added inline comments.

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 updated this object.Feb 4 2017, 3:04 PM
brnrd edited edge metadata.
This revision was automatically updated to reflect the committed changes.