Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-app-linux-split-gpg

Qubes component: app-linux-split-gpg
https://github.com/QubesOS/qubes-app-linux-split-gpg

version 2.0.70

2d69db01eb445e840a2ff29b3e7d78edd4a0244f authored about 1 year ago
tests: update for Thunderbird 115

There are several interface cahnges, adjust tests accordingly.

3bf561691bc88a5e5cb24fd69cb8b4a019c2fcae authored over 1 year ago
tests: try harder to avoid donation prompt during tests

"datareporting.policy.dataSubmissionEnabled" setting doesn't prevent
donation prompt anymore, TB...

00394da58d2017260a5cd512c822a3523d27daab authored over 1 year ago
version 2.0.69

ef64f62a882a2e62f31c06ab5e02cbe7e0dd1643 authored over 1 year ago
tests: use distribution's dogtail package

There is no need for fetching dogtail via git anymore, all relevant (for
us) distributions have ...

d65f098053fd4ae3c35e5a7dc3059ccabbec1b91 authored over 1 year ago
version 2.0.68

a0a0aed3b62650d5c8c0aa0f142f134cecac3732 authored over 1 year ago
Ignore --auto-key-locate local,wkd

While --auto-key-locate in general is not safe, it's okay when used with
the default value - ign...

78ed11a923a7e1736e17ea52f5a6090d2428e3ab authored over 1 year ago
tests: fix clicking top buttons in evolution

Clicking the actual "New" or "Send / Receive" buttons do not work, the
working button is the sib...

b9c13d0860d8e534725dcc8cf1998d94a2da74d5 authored over 1 year ago
Do not allow + to separate subpacket numbers

GnuPG does not treat + as a separator in this case.

a2fa75d2b3f7e83f775d0cdbdeedcb89365ab3bb authored over 1 year ago
version 2.0.67

aeff1393c459122b2b20ae96f3fb1d01c12590bb authored over 1 year ago
Bare support for new packaging with PKGBUILD.in

23f2cd207503c7ebce510f21faf42d7bb22fb69b authored almost 2 years ago
Rework Archlinux packaging

1ee1959a84ab6d083a64089c73ec0d70aecb75fe authored almost 2 years ago
version 2.0.66

8b24d17a3e445a4e5ebbc958dae107176212e8f4 authored almost 2 years ago
Don't install policy on R4.2

New policy editor / global config handles Split-GPG policy now, don't
get in its way.

QubesOS/q...

612fcb0d4e7992fd783c2c6c384c8820a9c8a630 authored almost 2 years ago
version 2.0.65

120c3ea587d28844573d86b8c35a85c95c3ffc4b authored about 2 years ago
Merge remote-tracking branch 'origin/pr/92'

* origin/pr/92:
spec: add BR python3-setuptools

923edf5b715ef60a1bc72680c02361e3fa4cfad3 authored about 2 years ago
spec: add BR python3-setuptools

4b504cae9be31c8625f635dcd465445b1e4af005 authored about 2 years ago
tests: disable end-of-year message, and similar popups

They disrupt tests

15fda8c0fe6eb2d7f764e9b586e75cbc7db08a52 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/88'

* origin/pr/88:
Clean up spec file cruft
Use ppoll() instead of pselect()

4ba90f3ef2e0b9b83c7358ad098b511312dc23e2 authored about 2 years ago
Clean up spec file cruft

No change in behavior on any supported version.

874cff4857a8be06c1c53b280cce226ff6190804 authored about 2 years ago
version 2.0.64

97337a2a8d633b0b37b23934ffaf3856ade41da8 authored about 2 years ago
tests: update for Thunderbird 102

4bcba0305494bae2876a6a9ee705d562ed99728b authored about 2 years ago
tests: Fix retry_if_failed decorator

It didn't report the final failed attempt as a failure.

418305eab4c88f9313bdfd9a0b14d87549d828f2 authored about 2 years ago
Use ppoll() instead of pselect()

This avoids the FD_SETSIZE limit.

14467648fc87757568d92a7a50600b9b97284127 authored about 2 years ago
version 2.0.63

fa04403e049f1d5b27975fdc8651c4740b302680 authored over 2 years ago
Force --exit-on-status-write-error

split-gpg1 always behaves as if this is set, with the exception that
broken pipes cause all furt...

67cb2bcf7ab38762fbb579613f417ea68d92ddfb authored over 2 years ago
Prevent GnuPG from using a closed file descriptor

If --status-fd, --logger-fd, or --attribute-fd is given more than once,
GnuPG will (with a few e...

ab857f6fcf39c560764932e56c0a32e1e73a7a60 authored over 2 years ago
Force batch mode

Non-batch mode is intended for interactive use, and split-gpg1 is never
interactive. --command-...

9d35724bfece271800a4707453dedd0b2eb248a6 authored over 2 years ago
Disallow --command-fd

--command-fd appears safe, and indeed for a while it was thought to be
safe. However, it turns ...

3c5280004f5dde2f874e8c46372d1ec936a0c2f4 authored over 2 years ago
version 2.0.62

434beb8c9581b1361b3a7dcd1add381eecee657e authored over 2 years ago
Emulate --quiet in terms of -q

This fixes a regression if the client has been updated but the server
has not.

315c171e7ee3886442411507ee73e5d680f044f3 authored over 2 years ago
version 2.0.61

cca97087fd7f5b90c42ad8b9f1e0ee072ed4d080 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/80'

* origin/pr/80:
Allow "qubes-gpg-client --verify - a.sig"
Check that standard streams are op...

5e5f66c6da26d45c31695d307923f8b651117bcf authored over 2 years ago
Merge remote-tracking branch 'origin/pr/83'

* origin/pr/83:
gpg-client: check for too many file names

c17a02d2dc23ede32556fd7d7fcb14ea6982cde8 authored over 2 years ago
Allow "qubes-gpg-client --verify - a.sig"

This is useful and removes another incompatibility.

26add28bd4142d0d93796b14980c6a490522bf3b authored over 2 years ago
Check that standard streams are open

Otherwise confusing things could happen later.

614cd2804cd9bda6aa118fd53ea51ae09c298092 authored over 2 years ago
Mark received file descriptors CLOEXEC

This also ensures that an invalid FD will be detected early.

f5d08b72540b2b35715fcd416020beebd5cea792 authored over 2 years ago
Make is_client a const global variable

It really is global to the program, and since it is immutable, the usual
problems with globals d...

529ad8cd4c4ecdfcc57848e0331d2c1c2b4d9dc3 authored over 2 years ago
Refuse to use the same FD for both reading and writing

split-gpg1 uses pipes for all I/O to and from GnuPG. Pipes are
unidirectional, so it is not pos...

914c2f960fb23a5c076fd7896f6f39c4dca71534 authored over 2 years ago
Use common code for file descriptor lists

Previously, both add_arg_to_fd_list() and handle_opt_verify() had their
own logic for adding fil...

8d33d4d78f95df67dd5ed894d8c598ed45aa4015 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/86'

* origin/pr/86:
Allow --show-session-key

d6f0ac3571c83f6fe19c88c9f3d87423acd98774 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/81'

* origin/pr/81:
Allow exporting public keyring backups
Allow --export-ownertrust

1f5bf36920bc486957abc5a22a09c0a1c0304daf authored over 2 years ago
Merge remote-tracking branch 'origin/pr/82'

* origin/pr/82:
Avoid dropping a trailing empty string
Do not send argv[0] to server
Fix c...

301bdb6df07eeac31225781ebe8439e76899540b authored over 2 years ago
Allow exporting public keyring backups

This will ease migration to split-gpg2, as users can now export a full
backup of their public ke...

54cee9409b4adc70217ce0ad41f1ca9f24c1cc37 authored over 2 years ago
Avoid dropping a trailing empty string

If the last argument sent by the client was the empty string, it would
silently be dropped by th...

f59430fadf6180c40c8a9990407dd2a8622e4b88 authored over 2 years ago
Do not send argv[0] to server

The server will just ignore it and does not need to know it. Send an
empty string instead.

56f807623796c78100f2424764156a91eb610bab authored over 2 years ago
Fix cast to a potentially-misaligned pointer

'struct command_hdr' requires 4-byte alignment, but a char array only
requires 1-byte alignment,...

7d59f75cba0ec279b672afac738c2ed50a0f9c00 authored over 2 years ago
Ensure that argc is never 0

If the client sends a header with length 0, the server will crash (in
parse_options()) because a...

2a52a8ebb30601e524fc8449ea06d4da94e5dc45 authored over 2 years ago
Avoid UBSAN splat on max-length input

If the input length was exactly 1024 bytes, the NUL terminator would be
written one past the end...

5a936a30527c25b9e9b23b94a49be4914add09e7 authored over 2 years ago
Fix misleading comments

The static remote_argv and untrusted_remote_argv arrays are *not* far
too big. In fact, if untr...

6c504d3416a4e672042a1f802a00042ec26b48de authored over 2 years ago
Allow --show-session-key

It is used by notmuch when operating on encrypted messages.

23aa560f8df3e34f979f099d156f718bf12fecef authored over 2 years ago
Properly NULL-terminate argument list

The code failed to properly NULL-terminate argument lists, causing the
server to treat uninitial...

52a34bc262b479f0aa819d897f0b2b39f35294e9 authored over 2 years ago
Do not ignore -q and --quiet

These are used by Mutt to suppress unwanted output. Without them, Mutt
waits for the user to pr...

15e93bf5bd8eb68f5ea9ef6222609bfdc48cb262 authored over 2 years ago
Allow --export-ownertrust

This allows exporting ownertrust, which is useful for migrating from
split-gpg1 to split-gpg2.

...

df14681ba5cc65006e96ee1d3cc178a6c9d8f7ba authored over 2 years ago
gpg-client: check for too many file names

Previously they were silently ignored.

37139cf13315c11e94e9cfa2939241552ac99e6d authored over 2 years ago
Have bash choose an unused file descriptor

This ensures that file descriptors that are already open do not get
clobbered. The syntax is ne...

3a300ec7296f6811fb62b8c505faa5ad7889bf5f authored over 2 years ago
Avoid hang due to premature file descriptor close

The pipe remapping code relies on all of the pipes being created at file
descriptors that are no...

44d6ed0c02191164abeb4bd198a86c9b34a4d7bc authored over 2 years ago
version 2.0.60

c5316c91107b8930ab4dc3341bc75293139b5b84 authored over 2 years ago
Allow --list-options show-sig-subpackets

This is necessary for some programs, as found via a search on GitHub.
All verify and options acc...

754e16eb50b214ccbaf74249571edf769307091d authored over 2 years ago
version 2.0.59

bd743eac1c75a171a8b0cea3da5fbb64ac5bc169 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/75'

* origin/pr/75:
.qubesbuilder: replace 'spec' by 'build'
Add Qubes Builder v2 integration

5bfad688c9d53db73d72c3cfaee0844ecdb8281f authored over 2 years ago
Merge remote-tracking branch 'origin/pr/77'

* origin/pr/77:
tests: really just sign in test_010_send_receive_signed_only
tests: adjust m...

017f0968ce0f5d563b35b1b3ce9f23b9814f3458 authored over 2 years ago
.qubesbuilder: replace 'spec' by 'build'

bd9002a7550ee61d19fc12f7823053ffb41f9bd6 authored over 2 years ago
tests: really just sign in test_010_send_receive_signed_only

e5a5a517be20d72c0e6347d70c2153b2891c8ce5 authored over 2 years ago
tests: adjust message view in Evolution

Depending on version, there might be an info bar with GPG details at
the top of the message. Thi...

f4265a7d35258582893dc61ed5aae9af266134ba authored over 2 years ago
tests: close Evolution settings via xdotool

There is no more 'Close' button, and dogtail doesn't seem to support
sending window manager acti...

68cb2d91d6a65b60697151d6ad2b0a74e97a04c5 authored over 2 years ago
tests: update Evolution test for newer settings dialog layout

The settings dialog has settings category buttons (with categories name)
not connected to actual...

5d6dfd472e7cf68db9040217443f8923fbed09b8 authored over 2 years ago
Allow show-photos as a list or verify option

With --photo-viewer=/bin/true, show-photos is effectively a no-op, so it
is safe to allow as a l...

7889084b532a31676d19b07de78d17ad1fd0fe88 authored over 2 years ago
Add Qubes Builder v2 integration

5daed1fb1ce233e906ae48282f2b04b2f544d4dc authored almost 3 years ago
Drop Travis CI

18ce4f4aed20a572986cde0529352170e174621c authored almost 3 years ago
version 2.0.58

338d3c4a260cbbad5d23ee41af4662ef330307a0 authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/73'

* origin/pr/73:
Fix list and verify option processing

3a0ddd990e29f50b5eac1c679a841700c6a293fa authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/70'

* origin/pr/70:
Drop --pgp2
Reject options ignored by the wrapper script

3cfb3eaff0d72572aefbee297b5b3d885b35b3f2 authored almost 3 years ago
Fix list and verify option processing

The argument to --verify-options was not sanitized, and the argument to
--list-options was sanit...

c03c30abe213d6325b4212535cbabd061c191d0a authored almost 3 years ago
Drop --pgp2

GnuPG itself no longer supports this option.

c4a180f753f7d9f4fce1f880002d9d2e7c127ec9 authored almost 3 years ago
Reject options ignored by the wrapper script

They are useless attack surface.

ea7df219288b284404e54fa018e8189a1eaa6396 authored almost 3 years ago
test: avoid false negative from sending status dialog

Sending progress dialog may disappear a moment after the main compose
window. Do not treat it as...

a652de57a63185e16a3ea799de30fecf3e543fca authored almost 3 years ago
version 2.0.57

bd3b0bf0e8636bd95c485e7f70b70fca4d080222 authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/71'

* origin/pr/71:
Update gpg-client-wrapper
add alias `--sign-with` to `-u`

fd741cdc63f506e92357efb9aeb3cf64504d46ca authored almost 3 years ago
Allow --attribute-fd

It is a safe option and clients should be allowed to use it.

b5c4aed2f464e0916bc857f4dea16f090567fd8c authored almost 3 years ago
Fix remaining hangs

The client must exit when, and only when, it gets the exit code from the
server. The server mus...

72bab32d82a13a99051abecd1c647594790e0702 authored almost 3 years ago
process_io(): block SIGCHLD

Otherwise there is a race condition, as described in man:pselect(2).
The call to pthread_sigmask...

b528828f5db6b1d194dca913f097d82a284d0d29 authored almost 3 years ago
process_out(): treat an empty FD_SET properly

It is of size 0 not 1.

abcff747131fe5a1bd40b7f4d231840f6447a9b2 authored almost 3 years ago
Use _exit(), not exit(), in the child after fork()

Otherwise streams could be flushed twice.

1462db102db8f0af1e8cfb6a82a8b54dc6eb3259 authored almost 3 years ago
Use pipe2(O_CLOEXEC) instead of closing fds

By creating the pipes with O_CLOEXEC, closing them in the child process
can be avoided. The ker...

a9dc9cc0444b7b0608487b0940568229774afd5f authored almost 3 years ago
Avoid closing a needed file descriptor

The file descriptor remapping code had a fatal flaw: if the read side of
one of the pipes that w...

e4a4a210c3679f78aea06e95c35e10efafb9b78a authored almost 3 years ago
Use _Bool for a type that must always be 0 or 1

There is no reason to use an int here. Allows an assertion to go away.

b7e755ff72da63b68aab0bdb7385824380b5d589 authored almost 3 years ago
Set empty handler for SIGPIPE

Terminating the process on SIGPIPE is a terrible idea if there are
multiple pipes being written ...

702461f44b605d01241ff9a705e97e2545c77ae5 authored almost 3 years ago
Fix assertion for new file descriptor limit

The max allowed file descriptor limit is 1023, not 1024. Update the
assertion accordingly.

cf56dac40a6b89dae4496a1f8dc48773e4e31b6f authored almost 3 years ago
Open signature file with O_CLOEXEC and O_NOCTTY

The signature file should not become a controlling terminal, and its
file descriptor should not ...

7361828e88c1111ae4098b0909c1268792595555 authored almost 3 years ago
Properly validate file descriptor arguments

The previous code did not properly validate file descriptor arguments.
I was not able to figure ...

1cb1969c5675b34ea2efbf65b25a346b0d508374 authored almost 3 years ago
Avoid out of bounds access to closed_fds

`read_fds` can contain rather large, attacker-controlled numbers, but
`i` cannot. This avoids a...

899e3d40e78b74b2610e09347a8ab44b08aa7c6d authored almost 3 years ago
Update gpg-client-wrapper

Co-authored-by: Demi Marie Obenour <[email protected]>

e1487644cc314865ae8b0d33c5589439f20de05a authored almost 3 years ago
add alias `--sign-with` to `-u`

(short option for `--local-user`)

fixes https://github.com/QubesOS/qubes-issues/issues/3325

29976c5fc8f69307b9ab88f31886bf06fdf18693 authored almost 3 years ago
Harden move_fds against bad file descriptor values

Ensure all file descriptors are bounds-checked before being used as
array subscripts.

42c2314961a25c84f42cae02fa04c2935282cc7d authored almost 3 years ago
version 2.0.56

8e021a3ae14cc6f8bf76ff266044a4e886fe6d5c authored almost 3 years ago
Sanitize arguments to --list-options

Disallow 'show-photos', 'show-keyring', and 'help', as well as duplicate
options.

Tested manual...

49b70ad7726a7e595d7a9c8f10881cbdc02ce47a authored almost 3 years ago
Prevent GPG from launching a photo viewer

Images in GPG keys can come from untrusted sources via
qubes.GpgImportKey. Viewing them in the ...

a3a8c36041ddf0cfd48d4807107c3d2d6ab4ed49 authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/67'

* origin/pr/67:
`--output` is more than just stdout redirection
Use set_output for -o as wel...

dffe2494b1fcc87c1076317dc44faf670e168dd8 authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/61'

* origin/pr/61:
Reject non-UTF-8 compatible display charsets
Allow `--utf8-strings`
Ignore...

8a55ece0fce59700754e86d6b5d360c49677778f authored almost 3 years ago