ibarrond / Pyfhel

PYthon For Homomorphic Encryption Libraries, perform encrypted computations such as sum, mult, scalar product or matrix multiplication in Python, with NumPy compatibility. Uses SEAL/PALISADE as backends, implemented using Cython.
https://pyfhel.readthedocs.io/
Apache License 2.0
487 stars 78 forks source link

unable to access 'https://git.njit.edu/palisade/PALISADE/ #111

Closed Murat-U-Saglam closed 2 years ago

Murat-U-Saglam commented 2 years ago

Description Trying to install Pyfhel to explore HE, had an issue with the PIP issue as mentioned on #104 . So I tried to utilise it's suggested fix however the sites utilised on the repo has no active connections to the internet.

Cloning into 'Pyfhel'...
remote: Enumerating objects: 2634, done.
remote: Counting objects: 100% (380/380), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 2634 (delta 250), reused 246 (delta 149), pack-reused 2254
Receiving objects: 100% (2634/2634), 14.04 MiB | 9.28 MiB/s, done.
Resolving deltas: 100% (1672/1672), done.
Submodule 'HElib' (https://github.com/shaih/helib) registered for path 'Pyfhel/HElib'
Submodule 'PALISADE' (https://git.njit.edu/palisade/PALISADE) registered for path 'Pyfhel/PALISADE'
Submodule 'SEAL' (https://github.com/ibarrond/SEAL4Pyfhel) registered for path 'Pyfhel/SEAL'
Cloning into '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/HElib'...
remote: Enumerating objects: 11284, done.        
remote: Total 11284 (delta 0), reused 0 (delta 0), pack-reused 11284        
Receiving objects: 100% (11284/11284), 8.87 MiB | 9.85 MiB/s, done.
Resolving deltas: 100% (8842/8842), done.
Cloning into '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/PALISADE'...
fatal: unable to access 'https://git.njit.edu/palisade/PALISADE/': Failed to connect to git.njit.edu port 443: Connection refused
fatal: clone of 'https://git.njit.edu/palisade/PALISADE' into submodule path '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/PALISADE' failed
Failed to clone 'Pyfhel/PALISADE'. Retry scheduled
Cloning into '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/SEAL'...
remote: Enumerating objects: 358, done.        
remote: Counting objects: 100% (27/27), done.        
remote: Compressing objects: 100% (20/20), done.        
remote: Total 358 (delta 7), reused 23 (delta 7), pack-reused 331        
Receiving objects: 100% (358/358), 519.59 KiB | 667.00 KiB/s, done.
Resolving deltas: 100% (172/172), done.
Cloning into '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/PALISADE'...
fatal: unable to access 'https://git.njit.edu/palisade/PALISADE/': Failed to connect to git.njit.edu port 443: Connection refused
fatal: clone of 'https://git.njit.edu/palisade/PALISADE' into submodule path '/home/muratsaglam/Desktop/Disso/Pyfhel/Pyfhel/PALISADE' failed
Failed to clone 'Pyfhel/PALISADE' a second time, aborting

Code To Reproduce Error

git clone --recursive https://github.com/ibarrond/Pyfhel.git

Expected behaviour The repository being locally cloned.

Setup:

ibarrond commented 2 years ago

The palisade repo was moved to GitLab some time ago. In the dev branch this has been corrected already 7babba1108fb7f847641cbf58fe3743e212e5eb1

Murat-U-Saglam commented 2 years ago

So what would the appropriate steps be to get PyFHEL on a fresh virtual environment for the latest release?

coderhard commented 2 years ago

but why would expect pyFHEL to work via palisade? The correct method to install would be the following according their website Installation — Pyfhel 2.3.1 documentation https://pyfhel.readthedocs.io/en/latest/source/getting_started/1_installation.html

git clone --recursive https://github.com/ibarrond/Pyfhel.git pip install .

On Fri, Jan 21, 2022 at 6:13 PM Murat Saglam @.***> wrote:

So what would the appropriate steps be to get PyFHEL on a fresh virtual environment for the latest release?

— Reply to this email directly, view it on GitHub https://github.com/ibarrond/Pyfhel/issues/111#issuecomment-1018985609, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAMLUUHKTECMXVSUT3ALG3UXHZDHANCNFSM5MPOW4FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Sincerely,

Hassan Karim Thoughts in motion

Murat-U-Saglam commented 2 years ago

The git clone doesn't complete since it can't pull the Palisade Libraries, when I did it manually there was a mismatch is the header directories

coderhard commented 2 years ago

Yes... I experienced the same. Mine failed even on the SEAL part. When I work out the solution I will post back

On Fri, Jan 21, 2022 at 7:12 PM Murat Saglam @.***> wrote:

The git clone doesn't complete since it can't pull the Palisade Libraries, when I did it manually there was a mismatch is the header directories

— Reply to this email directly, view it on GitHub https://github.com/ibarrond/Pyfhel/issues/111#issuecomment-1019002161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAMLUUJMVTKMPDNVXZ7JGTUXH76JANCNFSM5MPOW4FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Murat-U-Saglam commented 2 years ago

Do you have any leads, I'd like to help if possible. I got a dissertation project that I want to get started so aiding the process will only be beneficial to us all.

coderhard commented 2 years ago

Try changing to this instead

https://gitlab.com/palisade PALISADE · GitLab https://gitlab.com/palisade

On Sun, Jan 23, 2022 at 11:16 AM Murat Saglam @.***> wrote:

Do you have any leads, I'd like to help if possible. I got a dissertation project that I want to get started so aiding the process will only be beneficial to us all.

— Reply to this email directly, view it on GitHub https://github.com/ibarrond/Pyfhel/issues/111#issuecomment-1019528532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAMLUXDQMZWIVTQAFOLLETUXQZXJANCNFSM5MPOW4FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Sincerely,

Hassan Karim Thoughts in motion

Murat-U-Saglam commented 2 years ago

Cheers Dude I'll check it out