Do not auto-generate keys - #23
Conversation
michaelpj
left a comment
There was a problem hiding this comment.
We'll need to update our scripts in cardano-haskell-packages, but that's fine.
Do I understand correctly that this still builds a secure repository, just with no signatures? I wonder if we should instead build a non-secure repository in this case. Of the three cases:
- Secure repo with signatures
- Secure repo without signatures
- Insecure repo
It seems to me like 1 and 3 are the reasonable ones and 2 is a bit odd. Not sure I totally understand what's going on though.
|
I just noticed this still emits |
|
I have merged |
Thank you @bgamari! |
|
@michaelpj should we think about merging this? I think CHaP CI will pick up the change and fail (because package.json will be missing the signature and the whole index will change). This would be ok and give us the chance to change the script. |
|
Yep, seems fine. If you're happy with the CLI interface I'm happy. |
|
Might need to change the test fixtures also? |
|
Summary of why this PR has stalled (for future reference): What it does: Changes Three unresolved blockers:
@michaelpj approved and was comfortable with the CHaP impact. The main remaining work is fixing the |
add45ab to
0b5648a
Compare
This makes not signing the repo the default. If the user passes
--sign-with-keys KEYSand the pathKEYSdoes not exist, foliage tells the user to create a set of keys.