pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/bkcrack



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Oct 22 18:38:59 UTC 2023

Added Files:
        pkgsrc/archivers/bkcrack: DESCR Makefile PLIST distinfo

Log Message:
archivers/bkcrack: import bkcrack-1.5.0

A ZIP archive may contain many entries whose content can be compressed
and/or encrypted. In particular, entries can be encrypted with a
password-based symmetric encryption algorithm referred to as
traditional PKWARE encryption, legacy encryption or ZipCrypto.

bkcrack is a command-line tool which implements a known plaintext
attack by Biham and Kocker. The main features are:

    Recover internal state from ciphertext and plaintext.
    Change a ZIP archive's password using the internal state.
    Recover the original password from the internal state.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/bkcrack/DESCR \
    pkgsrc/archivers/bkcrack/Makefile pkgsrc/archivers/bkcrack/PLIST \
    pkgsrc/archivers/bkcrack/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/archivers/bkcrack/DESCR
diff -u /dev/null pkgsrc/archivers/bkcrack/DESCR:1.1
--- /dev/null   Sun Oct 22 18:38:59 2023
+++ pkgsrc/archivers/bkcrack/DESCR      Sun Oct 22 18:38:59 2023
@@ -0,0 +1,11 @@
+A ZIP archive may contain many entries whose content can be compressed
+and/or encrypted. In particular, entries can be encrypted with a
+password-based symmetric encryption algorithm referred to as
+traditional PKWARE encryption, legacy encryption or ZipCrypto.
+
+bkcrack is a command-line tool which implements a known plaintext
+attack by Biham and Kocker. The main features are:
+
+    Recover internal state from ciphertext and plaintext.
+    Change a ZIP archive's password using the internal state.
+    Recover the original password from the internal state.
Index: pkgsrc/archivers/bkcrack/Makefile
diff -u /dev/null pkgsrc/archivers/bkcrack/Makefile:1.1
--- /dev/null   Sun Oct 22 18:38:59 2023
+++ pkgsrc/archivers/bkcrack/Makefile   Sun Oct 22 18:38:59 2023
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2023/10/22 18:38:59 wiz Exp $
+
+DISTNAME=      bkcrack-1.5.0
+CATEGORIES=    archivers
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kimci86/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kimci86/bkcrack/
+COMMENT=       Crack legacy zip encryption with Biham and Kocher's known plaintext attack
+LICENSE=       zlib
+
+USE_LANGUAGES= c++
+
+INSTALLATION_DIRS=     bin share/doc/bkcrack share/examples/bkcrack
+
+post-install:
+       cd ${DESTDIR}${PREFIX} && ${MV} bkcrack bin
+       cd ${DESTDIR}${PREFIX} && ${MV} example/* share/examples/bkcrack
+       cd ${DESTDIR}${PREFIX} && ${MV} [lrt]* share/doc/bkcrack
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/bkcrack/PLIST
diff -u /dev/null pkgsrc/archivers/bkcrack/PLIST:1.1
--- /dev/null   Sun Oct 22 18:38:59 2023
+++ pkgsrc/archivers/bkcrack/PLIST      Sun Oct 22 18:38:59 2023
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/22 18:38:59 wiz Exp $
+bin/bkcrack
+share/doc/bkcrack/license.txt
+share/doc/bkcrack/readme.md
+share/doc/bkcrack/tools/deflate.py
+share/doc/bkcrack/tools/inflate.py
+share/examples/bkcrack/secrets.zip
+share/examples/bkcrack/tutorial.md
Index: pkgsrc/archivers/bkcrack/distinfo
diff -u /dev/null pkgsrc/archivers/bkcrack/distinfo:1.1
--- /dev/null   Sun Oct 22 18:38:59 2023
+++ pkgsrc/archivers/bkcrack/distinfo   Sun Oct 22 18:38:59 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/22 18:38:59 wiz Exp $
+
+BLAKE2s (bkcrack-1.5.0.tar.gz) = eb36f26126f9a5872793b58c053f95960e96c5419d04fd2af26a9e1dbd6212dd
+SHA512 (bkcrack-1.5.0.tar.gz) = 75dd31f4e8fff1a8c4cf05df3aad6baf4c6bd84692ced27bbc3aa2e7cc5fe535303d401a8130e0430b1524a0d4c4fd16e00c732075629e3f764fc6f1d97722f8
+Size (bkcrack-1.5.0.tar.gz) = 96118 bytes



Home | Main Index | Thread Index | Old Index