Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Can't compile because crypto-mac = "^0.7" is missing #1

Open
EcoloSweet opened this issue Aug 26, 2021 · 1 comment
Open

Can't compile because crypto-mac = "^0.7" is missing #1

EcoloSweet opened this issue Aug 26, 2021 · 1 comment

Comments

@EcoloSweet
Copy link

EcoloSweet commented Aug 26, 2021

Apparently, the crypto-mac crate version 0.7 is now missing from crates.io and it prevents from compiling any project depending on poksho.

Do you have any idea on what to do?

At first I posted the issue on the zkgroup repo since i thought this repo is not maintained... But maybe we can find a workaround to update dependencies?

I'd love to help if there is any possibility to make a pull request here 😃

Ref to previous opened issue : signalapp/zkgroup#16

Here is my cargo command output :

user@linux [~/signal/test] $ cargo build
    Blocking waiting for file lock on package cache
    Updating crates.io index
    Updating git repository `https://github.com/whisperfish/libsignal-service-rs`
    Updating git repository `https://github.com/signalapp/libsignal-client`
    Updating git repository `https://github.com/signalapp/zkgroup`
    Updating git repository `https://github.com/signalapp/curve25519-dalek.git`
    Updating git repository `https://github.com/signalapp/curve25519-dalek.git`
    Updating git repository `https://github.com/signalapp/poksho.git`
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.1`
    ... which is depended on by `poksho v0.7.0 (https://github.com/signalapp/poksho.git?tag=v0.7.0#8bb8c61c)`
    ... which is depended on by `zkgroup v0.7.3 (https://github.com/signalapp/zkgroup?tag=v0.7.3#197c382e)`
    ... which is depended on by `libsignal-service v0.1.0 (https://github.com/whisperfish/libsignal-service-rs#7d6fce5f)`
    ... which is depended on by `libsignal-service-hyper v0.1.0 (https://github.com/whisperfish/libsignal-service-rs#7d6fce5f)`
    ... which is depended on by `presage v0.1.0 (/home/user/signal/presage)`
    ... which is depended on by `test v0.1.0 (/home/user/signal/test)`
@EcoloSweet EcoloSweet changed the title Can't compile because crypto-mac = "^0.7" is missing #16 Can't compile because crypto-mac = "^0.7" is missing Aug 26, 2021
@EcoloSweet
Copy link
Author

I made this fork, updated dependencies and code so it works again : https://github.com/EcoloSweet/poksho

When code will be ready, I'll submit a pull request (if anyone here...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant