Package Details: ciphey 5.14.0-7

Git Clone URL: https://aur.archlinux.org/ciphey.git (read-only, click to copy)
Package Base: ciphey
Description: Automated decryption tool
Upstream URL: https://github.com/Ciphey/Ciphey
Keywords: cipher cryptography ctf decryption
Licenses: MIT
Provides: ciphey
Submitter: roliboy
Maintainer: pusi77
Last Packager: pusi77
Votes: 6
Popularity: 0.060000
First Submitted: 2020-10-21 13:53 (UTC)
Last Updated: 2023-05-08 17:37 (UTC)

Latest Comments

1 2 Next › Last »

bkb commented on 2023-03-05 10:26 (UTC)

Create ciphey-bin

bkb commented on 2023-03-05 10:26 (UTC) (edited on 2023-03-05 10:27 (UTC) by bkb)

python: can't open file '/home/$USER/.cache/paru/clone/python-cipheydists/src/cipheydists-0.3.35/dist/cipheydists-0.3.35/setup.py': [Errno 2] No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-cipheydists-0.3.35-1': 
error: can't build ciphey-5.14.0-6, deps not satisfied: python-cipheydists
error: can't build python2-packaging-20.9-7, deps not satisfied: python2-pytest
error: can't build python2-pytest-4.6.11-2, deps not satisfied: python2-packaging
error: can't build python2-toml-0.10.2-7, deps not satisfied: python2-pytest
error: can't build python2-pytest-cov-2.12.1-3, deps not satisfied: python2-pytest  python2-toml
error: can't build python2-wheel-0.37.1-3, deps not satisfied: python2-pytest  python2-pytest-cov
error: can't build python2-freezegun-0.3.15-8, deps not satisfied: python2-pytest
error: can't build python2-ftputil-5.0.4-1, deps not satisfied: python2-wheel  python2-pytest  python2-freezegun

roliboy commented on 2023-02-14 21:59 (UTC)

Weird, python-pywhat also fails with the exact same error, but both of them were building fine a while ago. I'll fix the issue as soon as I get some time for it.

necklace commented on 2023-02-14 08:31 (UTC)

Hmm, can't get this to build, fails with

python: can't open file '/tmp/python-cipheycore-504553981773140723/python-cipheycore/src/CipheyCore-0.3.2/build/dist/cipheycore-0.3.2/setup.py': [Errno 2] No such file or directory

roliboy commented on 2022-08-08 14:17 (UTC)

Hello. Thanks for letting me know that python-dephell has been removed from the community repository; I was unaware of it. Regarding python-cipheycore and python-cipheydists, I saw that their AUR packages have finally been orphaned due to inactivity, so I will adopt them and separate everything again.

I will also apply your changes once I get to it. Much appreciated.

ZhangHua commented on 2022-08-08 13:31 (UTC) (edited on 2022-08-09 14:14 (UTC) by ZhangHua)

Hello, I think we should remove dephell because it is a orphaned package now. You can do that by merging this patch:

diff --git a/PKGBUILD b/PKGBUILD
index 2971509..56d80c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=5.14.0
 _pkgver_cipheycore=0.3.2
 _pkgver_cipheydists=0.3.35

-pkgrel=3
+pkgrel=4
 pkgdesc='Automated decryption tool'
 arch=('any')
 url='https://github.com/Ciphey/Ciphey'
@@ -34,13 +34,13 @@ depends=(
 )
 makedepends=(
     'python-setuptools'
-    'python-dephell'
-    'python-poetry' #for python-cipheycore
+    'python-poetry' #for python-cipheycore and ciphey
     'boost' #for python-cipheycore
     'swig' #for python-cipheycore
     'cmake' #for python-cipheycore
 )
-provides=('ciphey')
+provides=('ciphey' 'python-cipheycore' 'python-cipheydists')
+conflicts=('python-cipheycore' 'python-cipheydists')
 source=(
     "$pkgname.tar.gz::https://github.com/Ciphey/Ciphey/archive/refs/tags/$pkgver.tar.gz"
     "cipheycore.tar.gz::https://github.com/Ciphey/CipheyCore/archive/refs/tags/v$_pkgver_cipheycore.tar.gz"
@@ -52,10 +52,6 @@ sha256sums=(
     '3436fde3f57df732e1a65fb03a565a564dd9d0c8d130c2e94f8b852e6a199a88'
 )

-prepare() {
-    cd "Ciphey-$pkgver"
-    dephell deps convert --from pyproject.toml --to setup.py
-}

 build() {
     #cipheycore
@@ -75,6 +71,9 @@ build() {

     #ciphey
     cd "$srcdir/Ciphey-$pkgver"
+    python -m poetry build
+    tar xf dist/ciphey-$pkgver.tar.gz
+    cd ciphey-$pkgver
     python setup.py build
 }

@@ -90,7 +89,8 @@ package() {
     install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-cipheydists/LICENSE"

     #ciphey
-    cd "$srcdir/Ciphey-$pkgver"
+    cd "$srcdir/Ciphey-$pkgver/ciphey-$pkgver"
     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+    cd ..
     install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

I don't think unpacking poetry artifacts again is a good idea but I can't find another solution. I added python-cipheycore and python-cipheydists into provides and conflicts because the files provided by those packages are in this package difinately.

EDIT: I find that ciphey, cipheycore and cipheydists are poetry packages. Maybe we can build wheel package and use python-installer to install the .whl file.
EDIT 2: Build cipheycore will be failed on GCC 12, the solution is inserting a #include <utility> line into src/ciphers/xor_single.cpp

roliboy commented on 2022-01-19 14:34 (UTC)

Yes, you're right. I accidentally took the dependencies from the master branch, where python-loguru is no longer needed.

Sorry about that, and thanks for the heads-up.

f1she3 commented on 2022-01-19 09:28 (UTC)

Hi ! I think python-loguru needs to be added as a dependency

roliboy commented on 2021-07-07 09:55 (UTC)

Small update:

I removed python-cipheycore and python-cipheydists from the dependencies and merged their PKGBUILDS into this one.

Now ciphey is a 3-in-1 package, not too elegant and by no means is it good practice to do so, but for the time being this will allow you to install it without any issues.

NOTE: remove python-cipheycore and python-cipheydists packages in case you installed them, otherwise pacman will complain about conflicting files

sudo pacman -Rns python-cipheycore
sudo pacman -Rns python-cipheydists

cookiewookie commented on 2021-07-06 12:45 (UTC)

I tried via yay --mflags --skipinteg ciphey

but more errors unfortunately. I hope you are lucky with contacting :)

  • Built cipheycore-0.2.3-cp39-cp39-manylinux_2_33_x86_64.whl tar: cipheycore-0.2.4.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now ==> ERROR: A failure occurred in build().