
Exporting one or more public keys falsely creates the .asc file at the level above the selected folder with the folder name as filename (Catalina only)
Reported by Support | January 21st, 2020 @ 11:26 PM | in 1.6 (closed)
Assigned to GPG Mail Support Plan #1117. When exporting one or more public keys on macOS Catalina, the created .asc file is named after the selected folder and saved a level above it.
Example: Selected output folder is ~/Desktop
, file
is created at ~/
with name Desktop.asc
,
so its path is ~/Desktop.asc
Before running the following steps, always make sure to delete any falsely created files first, otherwise the code will switch back to the correct filename.
The bug is not reproducible using German as language due to a different bug, so start GPG Keychain in English.
Steps to reproduce
-
Start GPG Keychain using the following command
/System/Applications/GPG\ Keychain.app/Contents/MacOS/GPG\ Keychain
-
Select one or more public keys
-
Click on
Export
in the toolbar -
Select the Desktop as folder where you want the file to be saved (any folder will work)
-
Don't change the filename but keep the one proposed by GPG Keychain
-
Press Save
Expected
The .asc file containing the exported public keys should be
saved at the selected folder ~/Desktop
with the
filename displayed by GPG Keychain in the save panel
What happens instead
The .asc file is named after the selected folder and saved one
level above it. So instead of in ~/Desktop
it is saved
in ~/
Workaround
Repeat the steps above without first deleting the file written to the wrong directory, since in that case GPG Keychain will not try to internally change the filename and output path and thus save it exactly where the user chose.
Code Problems
Among other things, the code doesn't appear to do what the comments say. The main problem is that _pubFilename is never set.
Comments and changes to this ticket
-
Mento January 31st, 2020 @ 12:49 PM
- State changed from new to fixed
- Assigned user set to Mento
- Milestone set to 1.6
- Importance changed from to Low
-
steve February 2nd, 2020 @ 08:53 PM
- State changed from fixed to verified
Verified macOS 10.15.3, language set to en.
2680n
Opening GPG Keychain via command
/System/Applications/GPG\ Keychain.app/Contents/MacOS/GPG\ Keychain
results in ´No such file or directory´using
/Applications/GPG\ Keychain.app/Contents/MacOS/GPG\ Keychain
instead.Reproduced: file called "desktop" stored in user folder after desktop folder was selected as location.
2705n
same steps
correctly named file is stored on desktop.
-
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป