Package Details: monkeysphere 0.39-2

Git Clone URL: https://aur.archlinux.org/monkeysphere.git (read-only)
Package Base: monkeysphere
Description: Leverage the OpenPGP web of trust for OpenSSH and Web authentication
Upstream URL: http://web.monkeysphere.info/
Licenses: GPL3
Submitter: fauno
Maintainer: svalo
Last Packager: svalo
Votes: 20
Popularity: 0.000010
First Submitted: 2011-01-20 23:39
Last Updated: 2016-09-17 14:34

Latest Comments

seppia commented on 2016-10-20 11:34

There's been an update and we'got a different fail in testing phase. Gpg still can't connect to the agent (which by the way in my case is always running since I'm still using an old version of monkeyshpere without any issue) and this time seems it complains that there is some "file name too long". In a clean system just installed the error is different and says "invalid value passed to IPC" and as if it ins't enough in this case the installing script can't even find the agent. Anyway this is the log from the install try on my usual system:

##################################################
### setup monkeysphere authentication...
ms: checking authentication directory structure...
ms: writing core gpg.conf...
ms: writing sphere gpg.conf...
ms: fixing sphere gnupg home ownership...
ms: determining core key fingerprint...
ms: core fingerprint:
ms: setting up Monkeysphere authentication trust core...
ms: generating monkeysphere authentication trust core key:
ms: size: 1024 bits
ms: uid: 'Monkeysphere authentication trust core UID (random string: jiMrFYZaiXO7ZOlvVxtxXc5E7iB7)'
gpg: can't connect to the agent: File name too long
gpg: error getting the KEK: No agent running
Could not import new key for Monkeysphere authentication trust core
FAILED!
### removing temp dir...
make: *** [Makefile:115: test-basic] Error 255

@svalo wrote:
As yaourt -just to make and example- creates several subfolders where to build the package into this can be the case, can you try to build it with a plain makepkg in the folder where you downloaded the PKGBUILD being sure the path isn't too long?

that doesn't change anything since I always got these errors not using yaourt and i've tryed in every possible folder of every possible user with every possible permission and all of their combination.

starfry commented on 2016-10-12 11:06

You could just comment out the "make test" in the PKGBUILD... I was only after "openpgp2ssh" and that worked for me :)

svalo commented on 2016-10-05 20:33

@Sc4ryb3ar, @beardedlinuxgeek, @seppia: Regarding the "can't connect to agent" I reported the error to the devs, they suggest to control whether the lenght of the path the socket is created into exceeds 108 characters, see https://linux.die.net/man/7/unix , section "Address format"
EDIT:
As yaourt -just to make and example- creates several subfolders where to build the package into this can be the case, can you try to build it with a plain makepkg in the folder where you downloaded the PKGBUILD being sure the path isn't too long?

@Sc4ryb3ar: the reason of the warning is that to execute some of the tests the folder -and its parents- has to be owned and writable only by the user which is running the test. It is not the case of /tmp. This is because of the requirements of sshd'strict mode. The warning will lead to some tests to being executed but should not lead to a failure.

Sc4ryb3ar commented on 2016-10-02 21:28

I have tried everything under the sun to get past the "can't connect to the agent" "error getting KEK", and I can't find a way to do it, to get this installed. Anyone have any solutions?

Sc4ryb3ar commented on 2016-10-01 00:17

So I used this, and it got past the test.... yaourt -S --tmp /home/<username> monkeysphere


and it errrored out with this

Monkeysphere keytrans test completed successfully!
##################################################
### removing temp dir...
gpg: can't connect to the agent: File name too long
gpg: error getting the KEK: No agent running
gpg: Total number processed: 1
gpg: imported: 1
gpg: secret keys read: 1
gpg: no ultimately trusted keys found
FAILED!
### removing temp dir...
make: *** [Makefile:115: test-basic] Error 2
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build monkeysphere.
==> Restart building monkeysphere ? [y/N]

Sc4ryb3ar commented on 2016-10-01 00:00

I got the same message as @seppia and @beardedlinuxgeek.

above the fail, there are these warnings

==> Starting check()...
MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/keytrans
MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/basic
##################################################
### generating openpgp key...
gpg: keybox '/tmp/yaourt-tmp-scarybear/aur-monkeysphere/src/monkeysphere-0.39/tests/tmp/ms.1Su/pubring.kbx' created
improper group writability on '/tmp'

!!!WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING!!!
Permissions on testing directory '/tmp/yaourt-tmp-scarybear/aur-monkeysphere/src/monkeysphere-0.39/tests/tmp/ms.2Gu' are
too loose to do proper strict permissions checking. Some tests
will be disabled or ignored.

To avoid this warning (and to make sure that all tests are run
properly), please run these tests within a directory that meets
sshd's standards for "StrictModes yes" -- the directory (and every
one of its parents) should be owned only be the user running this
test or root, and should not be writable by group or other.
!!!WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING!!!


##################################################
### configuring testuser home...



what is the proper /tmp writability?

svalo commented on 2016-08-03 14:52

@seppia,@beardedlinuxgeek I'm sorry for the delay in answering. I tried again building it in a clean chroot env using arch scripts on a brand new virtual machine and did not get any error, as I'm not getting the error it's hard for me to help. Seems it have some problem connecting to the agent in the test environment
Does it happen even on a new system?

beardedlinuxgeek commented on 2016-07-20 10:14

I get the same error as seppia

seppia commented on 2016-06-28 15:24

After last update of the package monkeysphere (2016-06-24 09:06) makepkg is unable to build due to a failure in the function check(). The failure occurs also in a clean environment.

[...]

### setup monkeysphere authentication...
ms: checking authentication directory structure...
ms: writing core gpg.conf...
ms: writing sphere gpg.conf...
ms: fixing sphere gnupg home ownership...
ms: determining core key fingerprint...
ms: core fingerprint:
ms: setting up Monkeysphere authentication trust core...
ms: generating monkeysphere authentication trust core key:
ms: size: 1024 bits
ms: uid: 'Monkeysphere authentication trust core UID (random string: QThzRcoi8zrKLpOfKs2PTd7s0qvL)'
gpg: can't connect to the agent: Invalid value passed to IPC
gpg: error getting the KEK: No agent running
Could not import new key for Monkeysphere authentication trust core
FAILED!
### removing temp dir...
make: *** [Makefile:115: test-basic] Error 255
make: *** Waiting for unfinished jobs....

[...]

==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build monkeysphere.

svalo commented on 2016-04-11 07:48

@samba are you able to then use monkeysphere subkey-to-ssh-agent?

I tried on a fresh install using a previously working subkey and with your suggestion I was unable to add my key to the agent. Purging and reinstalling as-is worked.
I did not try to create a new subkey tought

All comments