cachix / feedback

Feedback about https://cachix.org service
2 stars 2 forks source link

How to setup 2 hosts to use 2 different binary caches? #13

Closed vyorkin closed 4 years ago

vyorkin commented 4 years ago

Currently there is no way to generate 2 keypairs, so when I try to generate another signing key for my second binary cache the cachix generate-keypair mysecondbincache says:

Public signing key already exists.
It's currently not possible to override or add multiple signing keys.
However, this feature is planned.

But if I try to use the same signing key that I use for my first binary cache it says:

Signature verification failed.
The signing key you're using doesn't match any of the public keys for binary cache mysecondbincache

Do I unterstand correctly that this is not supported or I just don't understand how to setup it up? Thanks.

domenkozar commented 4 years ago

Each binary cache can have one signing key.

What are the names for your binary caches? You can verify on https://mycache.cachix.org if there is a public key.

domenkozar commented 4 years ago

@vyorkin does that answer your question?

vyorkin commented 4 years ago

Thank you, I've just set up a new host, going to check out in a few minutes

vyorkin commented 4 years ago

@domenkozar I've just tried to recreate my second binary cache and generate a new signing key and everything seems to work as expected. Thanks!