[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Problem with duply / gpg and docker - Not a tty

From: Peter Hase
Subject: [Duplicity-talk] Problem with duply / gpg and docker - Not a tty
Date: Sat, 2 Apr 2016 16:31:49 +0200

Hi all,
I’ve tried to use duply instead of duplicity on my newly created docker image (https://github.com/Gymnae/docker-duplicity) for backing up volumes and folders to s3 buckets.
The problems are more in-depth described here: http://stackoverflow.com/questions/36356924/not-a-tty-error-in-alpine-based-duplicity-image

/ # duply koken backup -v9
Start duply v1.9.1, time is 2016-04-02 14:18:47.
Using profile '/home/duplicity/.duply/koken'.
Using installed duplicity version 0.7.05, python 2.7.11, gpg 2.1.10 (Home: ~/.gnupg), bash '4.3.42(1)-release (x86_64-alpine-linux-musl)'.
Autoset found secret key of first GPG_KEY entry ‘<mysecretkey>' for signing.
Checking TEMP_DIR '/tmp' is a folder (OK)
Checking TEMP_DIR '/tmp' is writable (OK)
TODO: reimplent tmp space check
Test - Encrypt to '<mysecretkey>' & Sign with '<mysecretkey>' (FAILED)

Sorry. A fatal ERROR occured:

Encryption failed (Code 2).
gpg: using "<mysecretkey>" as default secret key
[GNUPG:] PROGRESS need_entropy X 8 16
[GNUPG:] PROGRESS need_entropy X 16 16
gpg: signing failed: Not a tty
[GNUPG:] FAILURE sign-encrypt 83918950
gpg: /usr/bin/duply: sign+encrypt failed: Not a tty

  This error means that gpg is probably misconfigured or not working 
  correctly. The error message above should help to solve the problem.
  However, if for some reason duply should misinterpret the situation you 
  can define GPG_TEST='disabled' in the conf file to bypass the test.
  Please do not forget to report the bug in order to resolve the problem
  in future versions of duply.

This is kind of the same problem, which I had with duplicity.
Something is keeping gpg from signing and encrypting the files - even decrypting does not work for incremental backups.
Something something tty. No clue what I can do…

Any help it super welcome.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]