| Summary: | gnupg 1.4 (version bump) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tobias Sager <moixa> |
| Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | flameeyes, g1gsw, jedimike, rockoo, vapier |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gnupg-1.4.0.ebuild
Fixed libusb depends Non-setuid ebuild |
||
|
Description
Tobias Sager
2004-12-16 23:23:49 UTC
Created attachment 46246 [details]
gnupg-1.4.0.ebuild
This ebuild should work for the new gnupg version, it adds use-flags for the
new configure options, but it still lacks support for define which algorithms
should be compiled and which not (so the default is took: every algorithm!).
It also add optional dependency on readline.
Created attachment 46247 [details]
Fixed libusb depends
Sorry I forgot to add libusb dependency for card support. This should fix it.
Hmm it seemed to work as root, but it b0rked out when I tried to run it as user. I'm not so sure that the 1.4.0 is so stable as they say :) Created attachment 46250 [details]
Non-setuid ebuild
Sorry to have blamed them, found out.
This was the bug I had:
gpg: Ohhhh jeeee: ... this is a bug (g10.c:1758:main)
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Aborted
This the place where it has been thrown:
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
/* There should be no way to get to this spot while still carrying
setuid privs. Just in case, bomb out if we are. */
if(getuid()!=geteuid())
BUG();
#endif
so removing setuid from the binary did the trick.
The attached ebuild (third) removes the setuid and now it should work
out-of-the-box.
Diego - looks pretty good. Trying it out now. I've added 1.4.0 masked until it gets a bit more tested with other applications. Things I've changed in the ebuild. - static removed - it didn't compile with it. Removed the use flags that didn't add dependancies and added behaviour. I just enabled the added behaviour. selinux use flag i think is still broken. Added idea capabilities from previous version of ebuild. |