-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with -s | --sign param #46
Comments
Indeed something is screwed up here. Seems like repose is also generating invalid signatures too. It doesn't crash on me, but when i try to do another operation on the signed database I get "unexpected validity 0x0" (probably something wrong with my key)... I'll have a quick look. |
Can you give me any details on how you generated the particular key that's crashing on you? If not, might not see a resolution until #45 lands and signing gets replaced (making good progress - shouldn't be more than a week or two). The existing gpgme code is nasty... |
This is the top of my pgpdump;
That was back in 2014 before I started obsessively saving my zsh history, so I don't have more details than that. |
Considering a rewrite is being done, this might be an opportune moment to ask something I've been wondering about for a while: what are the reasons for keeping signing in repose to begin with, rather than use Perhaps I'm missing some finer issues here, and apologies if this strays too far from the topic at hand. |
@AladW Glad you commented. I was considering opening an issue for aurutils about this as well. I had to remove the repose -s flag in the aurbuild script (line 61) to use my signed database. Packages are added and signed, still, though I had to manually sign the repository, as mentioned. |
Yeah, its certainly something worth discussing. Seriously, the only reason it was added in the first place was because repo-add does it, at once upon a time I aimed to support being a repo-add drop in replacement as well as my own standalone tool. Backwards compatibility was dropped because of the nightmare of maintaining the vodik.db to vodik.db.tar.gz symlinks, and it was probably for the better (I don't think anyone used it either). |
+ Use xargs with find to ensure >0 exit code on gpg failure + Sign database manually, see vodik/repose#46 This assumes that the database extension is .db, then so do pacman et al.
I have been using repose as part of the aurutils package, and have a local repository which is signed with my private key, said key is also the default key for pacman and has been locally signed. I had to manually sign the db for the repository with gpg, as
repose -s repo_name
causes a segfault.gdb output is vague, I am not sure where else to look.
The text was updated successfully, but these errors were encountered: