Commits on Source (70)
-
Daniel Kahn Gillmor authored
we work around by depending on gpg1 being available, which isn't a great solution. But i needed something to work for me right now.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
in gpg 2.1.x, subkey-to-ssh-agent doesn't work, because export-reset-subkey-passwd was dropped. We've now added a more performant agent-transfer tool to work in that scenario.
-
Daniel Kahn Gillmor authored
We should be listing the public key when testing for capabilities; listing secret keys is slower and not necessary here.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
modern versions of gpg (>= 2.1.x) do not create secring.gpg, but we need secring.gpg for our use in add-servicename and revoke-servicename. If we can depend on gpg 2.1.13 and the --quick-revuid patch makes it in, it would be better to just use gpg's --quick-adduid and --quick-revuid, and maybe even to drop the add/revoke functionality from keytrans for simplicity.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
Use transferable key formats as inputs instead of assuming prior structure of a gpg homedir, which changes depending on the version of gpg you're using.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
This avoids tickling the sockaddr_un.sun_path limits for me, since when i build in ~/src/monkeysphere/monkeysphere without a TMPDIR set, i see gpg-agent paths like: /home/dkg/src/monkeysphere/monkeysphere/tests/tmp/monkeyspheretest.VDc4Aek/testuser/.gnupg/S.gpg-agent which is quite close to the limit, and: /home/dkg/src/monkeysphere/monkeysphere/tests/tmp/monkeyspheretest.VDc4Aek/authentication/sphere/S.gpg-agent Which is actually over it if you include the terminating NUL Switching from tmp/monkeyspheretest.XXXXXXX to tmp/ms.XXX gives more breathing room (without fixing the underlying problem).
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
some versions of gcc produce this warning, which is treated as an error due to our conservative defaults in Makefile: src/agent-transfer/main.c: In function ‘main’: src/agent-transfer/main.c:676:5: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result] asprintf (&alt_comment, "GnuPG keygrip %s", args.keygrip); ^ cc1: all warnings being treated as errors this patch avoids the warning.
-
Daniel Kahn Gillmor authored
having src/share/common treated as an executable (commit ed10318d) was actually a terrible idea. In addition to causing "monkeysphere version" to print the version number twice, it meant that any invocation of a monkeysphere command that sourced src/share/common and had a first argument that happened to be a function name would accidentally invoke that function. This commit reverts that idea.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
Standard installations should have the monkeysphere user's shell set to /bin/bash (or whatever is the preferred bash) already. But in some stranger situations that is not the case. This workaround should help fix those cases, and shouldn't cause any additional problems.
-
Daniel Kahn Gillmor authored
-
2.1.15 appears to always emit the fingerprint lines in these cases, while 2.1.14 did not.
-
-
Daniel Kahn Gillmor authored
clang noticed that there was a type mismatch if you believe that gpg_error_t is unsigned: ------- src/agent-transfer/main.c:677:13: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if (err < 0) { ~~~ ^ ~ 1 error generated. ------- Avoid this by using an independent int for the return of asprintf.
-
Daniel Kahn Gillmor authored
on IRC, brethil reports that clang on OS X reports this failure when compiling agent-transfer: -------------- src/agent-transfer/main.c:467:27: error: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [-Werror,-Wincompatible-pointer-types] if (-1 == connect (ret, &sockaddr, sizeof(sockaddr))) { ^~~~~~~~~ /usr/include/sys/socket.h:583:41: note: passing argument to parameter here int connect(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS_C( connect); -------------- An explicit cast should address this concern. Ah, the joys of the BSD socket interface.
-
Daniel Kahn Gillmor authored
Apparently BSD sed and GNU sed treat -i differently, and there is no portable way to do in-place sed. This makes me sad and necessitates a fairly complicated workaround here. see also: https://unix.stackexchange.com/questions/92895/how-to-achieve-portability-with-sed-i-in-place-editing
-
Daniel Kahn Gillmor authored
We want "make" to do all the file generation, so that no files are created while we're running "make install" as the superuser.
-
Daniel Kahn Gillmor authored
The installman target was generating files as well. Move those to their own build stage so that they get created cleanly.
-
Daniel Kahn Gillmor authored
when doing "make install" over an existing installation, the manpage links were failing because the link already existed.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
When generating an OpenPGP certificate, include the v4 fingerprint in its hashed subpackets. This resolves https://bugs.debian.org/844971 when building against GnuPG 2.1.x
-
Daniel Kahn Gillmor authored
https://bugs.debian.org/841208 This particular fix will only work for GnuPG 2.1.x or later, but should be safely ignored by older versions.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
Now that GnuPG reports fingerprints for all keys in GnuPG 2.1.16 (when using --with-colons), we need to tease out primary key fingerprints and to discard subkey fingerprints.
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
-
Antoine Beaupré authored
-
Antoine Beaupré authored
-
Antoine Beaupré authored
-
-
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
man/man1/agent-transfer.1
0 → 100644
src/agent-transfer/main.c
0 → 100644
This diff is collapsed.
src/agent-transfer/ssh-agent-proto.h
0 → 100644
src/share/common
100755 → 100644