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

github.com/QubesOS/qubes-core-qubesdb

Qubes component: core-qubesdb
https://github.com/QubesOS/qubes-core-qubesdb

version 4.2.4

a99f9d52272de34accf3ba53bea90eac9f126a2c authored about 2 years ago
Update archlinux python version dependency to <3.12

ed937c446f695960664b0c9351400fc4be4f7d06 authored about 2 years ago
version 4.2.3

43db33f346f101e7ee74e3b6cbc8d9840846f14f authored over 2 years ago
Merge remote-tracking branch 'origin/pr/59'

* origin/pr/59:
archlinux: add python-setuptools in depends
Rework archlinux packaging

9559f76d06f145f986c6d341cb61bb7ff5b59f84 authored over 2 years ago
archlinux: add python-setuptools in depends

6935ca7fd4857601e421750a8aca82b7075310b6 authored over 2 years ago
version 4.2.2

a4904424a6fd6d650781fa8a51305bb460f88ac0 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/57'

* origin/pr/57:
Support providing a default value to qubesdb-read

aef5540bedef210546a4ee315e9029ae24e4c17d authored over 2 years ago
Support providing a default value to qubesdb-read

This will be useful in the network scripts.

5ca46cd8e180133b29b451d7221f8f22d795c11f authored over 2 years ago
Rework archlinux packaging

172d738237f1ae452890552b0c03d069099e414e authored over 2 years ago
python: migrate away from deprecated distutils

Use setuptools instead.

02a6590102207106811b5507fcf86c792947365a authored over 2 years ago
Stop testing on R4.1

The current code is no longer R4.1-compatible.

8c0cc77303a98ff4aef3a8e6551b22f03e115a11 authored over 2 years ago
version 4.2.1

aca66da76b995b7a9ed8680cd8cd62b71edc9e84 authored over 2 years ago
rpm,debian: remove explicit dependency on vchan

Let it be automatically generated, to match required version.

512566ab83b454638b08b120afbe2a25875eaa7e authored over 2 years ago
version 4.2.0

56e446a9b98f658dd5b0738c86857b8fcf7903d0 authored over 2 years ago
Avoid explicit mkdir

It isn't necessary due to a type_transition rule.

e825d377518921e025a1d605a3026dee059398f4 authored over 2 years ago
Add write permission to qubesdb-daemon on var_run_t

Needed at early init.

a202584bd31751041f5ad3dfec0aa9962ab46028 authored over 2 years ago
Simplify SELinux policy

7aea4b810895eab7b4467059834ce8b9466e456e authored over 2 years ago
SELinux policies require qubes-core-agent-selinux

Without qubes-core-agent-selinux, the policies in this repository do not
work.

924383f86c893dcad96a901194e05fd228d5f7ce authored over 2 years ago
Simplify daemon startup and fix UB

This prevents using a NULL pointer as the argument to a %s format
specifier, which is undefined ...

b959baf1c88a95419be9d668022eafa306f16a42 authored over 2 years ago
Try to get qubesdb working with SELinux enforcing

Apparently mkdir(1) is not setting the context correctly. Hopefully
chcon(1) will. Also allow ...

80a3cc88fe1a6e70e411f8ad7f22d8b427bfad8a authored over 2 years ago
Implement SELinux policy for QubesDB

This allows using QubesDB with SELinux enforcing.

a3958521c16c3ea4b83b851d8e8625c99170dae0 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/53'

* origin/pr/53:
Do not use select(2)
Fix some Doxygen comments

ba871083a29f84e80985fee4eebdcee52f00c974 authored over 2 years ago
Do not use select(2)

select(2) is a bad API and should be avoided. Use poll(2) instead.

a8cab708aea063ef61db5faebacf0c2086645def authored over 2 years ago
version 4.1.15

1aba6b58c23c389fd8e6a51b8854791617e59306 authored over 2 years ago
Fix some Doxygen comments

This avoids a clang warning.

1c5c88a7ab5a9de6981ceced55d2318aee139cb1 authored over 2 years ago
debian: remove remaining python2 dep

QubesOS/qubes-issues#5297

329c59ddc44960b759df3dccb27956f243c70ddc authored over 2 years ago
Fix qubesdb-read-bool on missing keys

It should exit with status 2, but because the test command clobbers $?,
it exited with status 3.

9743538fb7c82ff86f5f8a0586ee5970f3138d25 authored almost 3 years ago
version 4.1.14

37c8c27a7d8c3c95801c7e377da6bdfe57ef58ad authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/50'

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

36bbafda0c997844dc8b68d638ff56fe9f0c6aaa authored about 3 years ago
.qubesbuilder: replace 'spec' by 'build'

9f65b84d1a2d3cf03dc0e73c6b948ae7db848dc2 authored about 3 years ago
Add Qubes Builder v2 integration

d327cb8885ed81c4fd9ab4ddcafeef74a42ab721 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/51'

* origin/pr/51:
Drop Travis CI

d4baa2e84661fd7f72f58070888b9740bca9a03a authored over 3 years ago
Drop Travis CI

0c4a7c482a0f90e6c00cd13c2c61afdc86cd0d51 authored over 3 years ago
Fix mingw build

Use correct include for SecureZeroMemory.
Mingw uses lowercase header filenames (and Windows doe...

e94f2c908b04de45104c0345ad5ba6eaff013c35 authored over 3 years ago
ci: build on windows too

QubesOS/qubes-issues#3585

13801fe4cc71c5e9da99e7a8b6a8f0edf02cc767 authored over 3 years ago
Fix OSS Fuzz integration

Use ordinary memset() when fuzzing instead of a secure zeroization call.

5399147bed0c612716cd64f75115266e3c7096f1 authored over 3 years ago
version 4.1.13

4831306a91d358ecea7711846862ae5b3785df93 authored over 3 years ago
CLI tools: distinguish "no such entry" and "error"

There is a difference between "this entry does not exist" and "this
entry may or may not exist".

b9870c9c6403781293ac6b12cc4dce03d8f50e66 authored over 3 years ago
Reserve ENOENT for "no such path in QubesDB"

Convert other causes of ENOENT to EPROTO.

892cde046e67aa24c8f0b34b9c0129732fdcaed8 authored over 3 years ago
Write error messages if fflush() fails

So that the user can see what happened.

55fd4709a918558e62f1bd84207d79160894345b authored over 3 years ago
Better error checking when writing to stdout

Errors are now attributed to the functions where they happened.

484f17309fb07c2a7113289639fb1ae507e4a3dc authored over 3 years ago
Daemon: Zeroize memory before freeing it

It might contain sensitive information, such as random seeds.

e6c1516af4018af6bb86e6676118700c1237c65c authored over 3 years ago
Securely zero buffer memory before freeing it

Useful for random seeds and the like.

00ad65e5a343ee111bad2898e58b72b6a14a032c authored over 3 years ago
Fix an unchecked malloc

Abort instead of dereferencing NULL.

31038b5214a2693036c8e1c7ca9cd718d82bd1dc authored over 3 years ago
Move newline printing to common code

No change in behavior

f3db5c11f2650a4a54ffbae7f0a7dfe954ba446c authored over 3 years ago
Forbid leading dashes in qubesdb entry names

They could theoretically be used for option injections against badly
written tools.

1ddb48cc47fa2c4e23a35cfeab85e90cb9653186 authored over 3 years ago
Add documentation for -h

It wasn't documented.

ec06222a3cb817c8c324abd41d93bc6d49234711 authored over 3 years ago
Fix error checking and a memory leak

qdb_read_watch returns a malloc(3)'ed string that must be free(3)'d, or
NULL on failure. qdb_wa...

32a28ea718fcff316dd635999555f29ee0fae2b1 authored over 3 years ago
Exit non-zero on I/O errors

Test: qubesdb-read /name > /dev/full

203725e73672dce0326b1721adeb11bd72c856ca authored over 3 years ago
Allow removing a value after reading it

This will be used for the random seed.

ca0dc1f24005bfebbdc3ee4981e7e39bc5a998da authored over 3 years ago
Add a comma after enum variant

No change in behavior.

7e9c0b783aa916d549ef278a20a05001f3339fc0 authored over 3 years ago
Fix build with -Werror=missing-prototypes

Make a bunch of stuff static.

015adec7f4d6a6073379c83717239dceaf33e437 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/45'

* origin/pr/45:
windows: add locking
windows: add missing handle_client_disconnect call
wi...

7a4a1219bade76eff17e71a2412e4ef35ba8a99c authored over 3 years ago
Merge remote-tracking branch 'origin/pr/39'

* origin/pr/39:
Add assertions to detect FD_SET overflow

72be07a1c2e855eb4688a3517c896af578773dd1 authored over 3 years ago
windows: add locking

Since qubesdb-daemon on Windows is a multi-threaded application,
accesses to the database struct...

cb6f143ab73c43541ad897c37f10311ab93d791d authored over 3 years ago
windows: add missing handle_client_disconnect call

When client disconnects, db core needs to be notified about it, to
remove associated watches. Ot...

704b1360f1a2fa0825ef1341d029a7b061e3e0dc authored over 3 years ago
Add assertions to detect FD_SET overflow

This is undefined behavior, so crashing is better.

1308c96cc859bd559cfdb64e26cba9397e397fb5 authored over 3 years ago
version 4.1.12

4f9dfb335b526ecd48357e09612fb5db230ead00 authored over 3 years ago
windows: fix incompartible unicode with MinGW

6a34e2f181c1bc057885b233f5ef8c02e29a69f6 authored over 3 years ago
windows: fix qubesdb-daemon cleanup on shutdown

This fixes IOCTL_XENIFACE_GNTTAB_UNMAP_FOREIGN_PAGES failed when libvchan_close() called

198be9ddfb944b193915d05094f3da54c3f6aa8e authored over 3 years ago
windows: remove duplicated error logging

3cfe981c595070bbb92a501c9dfd0b56adfe62fc authored over 3 years ago
windows: improve logging

Decrease log level and add more detailed log description

22095ff488a435d3537f5a4e345c19b5b1ff388f authored over 3 years ago
windows: build fixups to VS2019

daemon/qubesdb_internal.h: error C2229: struct 'db_daemon_data' has an illegal zero-sized array
...

9a12fc37dd67fc2148b4fb9c0b611e9b17d7e9eb authored over 3 years ago
fix win32 compilation

215f6397006ead337d1f8088fdb0f0bdb76c2e93 authored over 3 years ago
windows: rename perror to win_perror

Follow the change in windows-utils

QubesOS/qubes-issues#5065

6c75f00094c31b916ce443a37656f327bc15404e authored over 3 years ago
Add Makefile for MinGW build

08ccd545188dc457460084a22f16cb34c8355573 authored over 3 years ago
Make the code compile with MinGW

- make all includes lowercase (Windows don't care, MinGW on Linux ships
them lowecase)

Based ...

66970309e7dd96e0c3906ba5005f82d3d674ff01 authored over 3 years ago
archlinux: bump python dependency to v3.11

1e265c7cc31f694d3ccfad94a1691d705140d103 authored over 3 years ago
Use $(file <) instead of $(shell cat)

The former is faster and handles errors (such as permission denied
reading the file) correctly.

2542e3f9448ba2fc78aaf08cf940a570b02b45ae authored almost 4 years ago
Merge remote-tracking branch 'origin/pr/37'

* origin/pr/37:
spec: fix systemctl path

c0370097f6a5514966d09dd5419e3dd4d2fdb98b authored about 4 years ago
version 4.1.11

5066a871d71a0be0a06097f5a044be49a43d90ae authored about 4 years ago
spec: fix systemctl path

Related QubesOS/qubes-issues#6567

a8e0338cd76dfdce471f2cbbdb133ae72d69d8e6 authored about 4 years ago
Fix memory leak

df749d8152b9244324c31e6c6fe345952e1fef69 authored about 4 years ago
qubesdb-cmd watch: some doc clarifications for -n

b6c3e654bda6bedfe8d83d5bce4f9df970179998 authored about 4 years ago
Merge remote-tracking branch 'origin/pr/33'

* origin/pr/33:
client: Treat getopt(3) return value as int instead of char

8375e794bb0600371e98226ce244c1f0e8510557 authored over 4 years ago
client: Treat getopt(3) return value as int instead of char

Per getopt(3)'s man page, the correct return type is int, not char.

Using char is especially pr...

9dacf91e2aadc230fa805c34400932ba505a14b9 authored over 4 years ago
archlinux: pin PKGBUILD to python3.X major version as new python version will break the API

(cherry picked from commit 9c56b2c19120f2e0644adb645b7ebb95766329c3)

1b43788bd90c9909a3be9d32f49f4f269725c0bd authored over 4 years ago
version 4.1.10

a7cef239e8626e0b37fc4cb47907d11fb1a848af authored over 4 years ago
debian: update control for python deps

d8485929b816d7f7fcc2492d7418d6944aa9ab18 authored over 4 years ago
debian: update compat

836034405bda688f7908166165eeb247486159d7 authored over 4 years ago
debian: update control

d77019a61d9a4fee02f20b3c2d310fd967ddf323 authored over 4 years ago
version 4.1.9

9b55f5811cacdf42aca8851d5c9b2e129578dfb2 authored over 4 years ago
Merge remote-tracking branch 'origin/pr/29'

* origin/pr/29:
Use pkg-config to get BACKEND_VMM
Set default BACKEND_VMM value to xen

c267fcec7f0bcaa6b274e4383e8e20e8f3598ae0 authored over 4 years ago
Add .gitlab-ci.yml

93d64c33dc91c9b1b3876ffa0afb7c72be2ce934 authored over 4 years ago
Use pkg-config to get BACKEND_VMM

4e14dcd9a2735b62237209d9c138ed50a03789ac authored over 4 years ago
Set default BACKEND_VMM value to xen

86ea7f03d85dd2c370fd2eebe8fce70935e131a4 authored over 4 years ago
version 4.1.8

b2e7b587bc71ddacb251d5ba6abc36b5e00542c6 authored almost 5 years ago
Update travis

bcf3f91a9cf617e4a83f4e942f0f4dee3660f75a authored almost 5 years ago
version 4.1.7

15f4ff52b530198372177d7638fd0708cd9a5d8d authored about 5 years ago
Drop python2 support

QubesOS/qubes-issues#5297

6a692c827a5ecddbc31e22fddb6091c322f67aab authored about 5 years ago
fix QubesOS/qubes-issues#5658, keep python2 in qubesdb.c

(cherry picked from commit 3984415ab79ade9a45827b94f4a4f10a3a5e57cd)

3ba9487ac9af066d17082c6897a58850e0e06834 authored about 5 years ago
version 4.1.6

332c6605eccf81d057a280a4ca1df481698f554d authored about 5 years ago
Fix uppercase write bug

Fix typo to allow write uppercase not only Z character

1443d57ee6227316eee784b5218c17d7ccae22be authored over 5 years ago
version 4.1.5

31624ab49566f7dd51a38831388195de151261ae authored over 5 years ago
daemon: zero out value before freeing

Zero out value when removed (both on entry remove and on overwrite)
before freeing it. This redu...

91d9f1f056747a7f49fc8f1e7fe9699d5ead8d00 authored over 5 years ago
version 4.1.4

9ca2a432d32dc5d05b0b4364fafc213017ec8f4c authored over 5 years ago
Merge remote-tracking branch 'origin/pr/23'

* origin/pr/23:
qubesdb-read: handle wait option

3fd44abf79edf343ed926e5bf4d339fa95723561 authored over 5 years ago
qubesdb-read: handle wait option

15734b59751d645bfb206052504941d65801da69 authored over 5 years ago
travis: switch to dom0 Fedora 31

QubesOS/qubes-issues#5529

4496e5f5b103a160f15d4904952e1bc852702209 authored over 5 years ago
version 4.1.3

c93197375daa001a942b0c32be4ab9035ed9afb2 authored over 5 years ago