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 :


Passphrase handling code


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

Evner: C programmering, PHP

Om klienten:
( 0 bedømmelser ) Illertissen, Italy

Projekt ID: #34043025

6 freelancere byder i gennemsnit €162 timen for dette job

(211 bedømmelser)

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 dage
(20 bedømmelser)

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 Flere

€140 EUR in 7 dage
(7 bedømmelser)

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 Flere

€100 EUR in 3 dage
(3 bedømmelser)

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 Flere

€140 EUR in 7 dage
(0 bedømmelser)

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 Flere

€250 EUR in 7 dage
(0 bedømmelser)