Page MenuHomeFreeBSD

remove bdes(1)
ClosedPublic

Authored by allanjude on Feb 3 2017, 1:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 9, 7:49 PM
Unknown Object (File)
Tue, Apr 9, 6:51 AM
Unknown Object (File)
Thu, Mar 28, 3:18 PM
Unknown Object (File)
Mar 11 2024, 4:16 PM
Unknown Object (File)
Mar 11 2024, 4:15 PM
Unknown Object (File)
Mar 11 2024, 4:15 PM
Unknown Object (File)
Mar 8 2024, 2:14 AM
Unknown Object (File)
Feb 23 2024, 1:45 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 - 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.