On Wed, Feb 06, 2008 at 11:46:27AM +0900, Daiki Ueno wrote: >> When I attempt to open a file foo.gpg, where foo.gpg is a symlink to >> bar.gpg, I am prompted for a passphrase twice. AFAICT it doesn't >> matter what I type the first time. I think the first prompt is >> superfluous and should be avoided. >> >> This happens even with -q. > > I can't reproduce the problem with this recipe. Perhaps you meant the > following, didn't you? > > (0) you were using symmetric encryption
The file was encrypted by me against my public key, so that it cannot be decrypted without my private key. > (1) you opened foo.gpg, and easypg asked you the passphrase for > bar.gpg > (2) then you opened bar.gpg, and easypg asked you the passphrase for bar.gpg As a user, I open the symlink foo.gpg -> bar/foo.gpg. bar/ is a version-controlled repository. vc-follow-symlinks is set to t. > If my guess is correct, the attached patch (already installed in the > upstream CVS) will fix the problem. Will try patch RSN.
signature.asc
Description: Digital signature