Page MenuHomeFreeBSD

remove bdes(1)
ClosedPublic

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

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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