Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

decrypting gnupg symmetric files without X.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Edweirdo
Guru
Guru
User avatar
Posts: 353
Joined: Tue Jan 28, 2003 5:27 pm
Location: Boston, Mass, USA

decrypting gnupg symmetric files without X.

  • Quote

Post by Edweirdo » Wed Jan 31, 2007 9:29 pm

I encrypted some files using the gnupg 2.x (in my ~x86 system) using symmetric encryption. When I did it an X window popped up for me to enter the passphrase. Now that I am trying to decrypt them on another server that does not have X I get an error:

Code: Select all

gpg: 3DES encrypted data
gpg: DBG: connection to agent established
gpg-agent[25125]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: encrypted with 1 passphrase
gpg: decryption failed: No secret key
That seems crazy that I can't decrypt a file without having X windows.

I am also upset that the --passphrase option has been removed. It was great for encrypting/decrypting crap loads of files before being backed up to another server.
Life is too short and too important to { take seriously | use Windows }.
Top
embobo
Guru
Guru
Posts: 311
Joined: Mon May 19, 2003 6:48 am

Re: decrypting gnupg symmetric files without X.

  • Quote

Post by embobo » Thu Feb 01, 2007 3:57 am

Try adding

Code: Select all

--no-use-agent
to your gpg command line.
Top
Edweirdo
Guru
Guru
User avatar
Posts: 353
Joined: Tue Jan 28, 2003 5:27 pm
Location: Boston, Mass, USA

  • Quote

Post by Edweirdo » Thu Feb 01, 2007 7:11 pm

Nope, similiar error. Never asks me to enter the passphrase.

Code: Select all

gpg: CAST5 encrypted data
gpg: DBG: connection to agent established
gpg-agent[858]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: encrypted with 1 passphrase
gpg: decryption failed: No secret key
Life is too short and too important to { take seriously | use Windows }.
Top
imbezol
n00b
n00b
Posts: 37
Joined: Sun Sep 29, 2002 4:02 am
Location: Alberta, Canada

  • Quote

Post by imbezol » Wed Mar 28, 2007 4:41 pm

*BUMP*

How the heck can you decrypt something over SSH now? It tries to pop up an X box or something to enter the key and I can't enter it!
Top
gsurbey
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Mar 24, 2003 10:52 am
Location: Nashua, NH
Contact:
Contact gsurbey
Website

  • Quote

Post by gsurbey » Thu Sep 10, 2009 1:56 am

If you're using 'su' after you log in, then you're probably running into this problem.
-Greg Surbey
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic