Closed

gpg save passphrases to file

I have installed manually gpg version 2.2.27 ,download it from [login to view URL]

followed the steps to install all the libraries , used ./configure && make.

Generated keys with gpg --gen-key

Everything works fine.

I have setup up the passphrase .

When i use it on a file like :

gpg -d [login to view URL] it opens the next popup .

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

x Please enter the passphrase to unlock the secret key for the OpenPGP certificate: x

x "john smith (admin support) <email at [login to view URL]>" x

x 2048-bit RSA key, ID 4DDF05FC, x

x created 2022-07-02 (main key ID 1274E5D3). x

x x

x x

x Passphrase **********________________________________________ _____________________ x

x x

x <OK> <Cancel> x

mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

After i type in the passphrase i want to save the passphrase in a file for further testing.

Can`t seem to find how passphrase is send from the popup.

From the documentation :

g10/passphrase.c

Passphrase handling code

g10/gpg.c

Main module with option parsing and all the stuff you have to do on startup. Also has the exit handler and some helper functions.

Skills: C Programming, PHP

About the Client:
( 0 reviews ) Illertissen, Italy

Project ID: #34043025

6 freelancers are bidding on average €162 for this job

(211 Reviews)
7.4
dfpr

I have experience dealing with linux software, scripts and C/C++ programs, I'm sure I can help you locate the software code you need to for keeping the passphrase.

€100 EUR in 3 days
(20 Reviews)
4.2
chatchaij

Hi, some question. Usually, when using gpg to decrypting the encrypted file, gpg-agent, which is running in the background will "cache" your password for sometimes, so if you decrypt another file immediately after the More

€140 EUR in 7 days
(7 Reviews)
3.4
ayesharifatmed

Hello There! This is Ayesha Siddiqua. Nice to meet with you. I am an M.B.B.S doctor. I have completed my graduation from North Bengal Medical College under Rajshahi University. A versatile and professional Web & Mobil More

€100 EUR in 3 days
(3 Reviews)
2.1
Gokul3300

Hi there . My portfolio link: [login to view URL] Thanks for the offer. I'm Gokulananda ghorai from India, a web, app, api , software developer. Please msg me, I need details brd for solv More

€140 EUR in 7 days
(0 Reviews)
0.0
grapessoft

Hi Greetings! I am available right now for the project discussion and can start the project on an immediate basis. I have understood your project requirement I have7++ experience in design and development. I can ha More

€250 EUR in 7 days
(0 Reviews)
0.0