Forum: help-en
Monitor Forum | Start New ThreadNo Secret Key [ Reply ] By: Trenton Fleener on 2021-06-03 16:13 | [forum:7939] |
Hello, I am trying to decrypt files and I get a message saying no secret key. We are using Open PGP in the gui version. We have a secret key, but we don't know where to enter it. |
-
RE: No Secret Key [ Reply ]
By: Bernhard Reiter on 2021-06-04 07:57[forum:7940]
Hello Trenton,
if you have your secret key as file, you need to import it (and the public key).
An additional step (and optional for some operations) is to set it to ultimate trust.
Just use Kleopatras "import" feature or
"gpg --import" on the command line.
Best Regards,
Bernhard
-
RE: No Secret Key [ Reply ]
By: Trenton Fleener on 2021-06-04 15:54[forum:7941]
Thanks, Bernhard. I went to try this and the GPA won't even open now. Is there a step-by-step start-to-finish for installing and working this program?
-
RE: No Secret Key [ Reply ]
By: Bernhard Reiter on 2021-06-07 10:40[forum:7946]
Hi Trenton,
use Kleopatra (when in doubt). There is an "import" menu entry.
If not, save your key material and open cmd.exe, there you can go to the directory which the file (like cd c:\somedir) and execute the command (e.g. gpg -v --import YOURFILENAME)
Regards,
Bernhard
-
RE: No Secret Key [ Reply ]
By: Trenton Fleener on 2021-06-09 16:47[forum:7959]
Ok. How do I get to Kleopatra?
-
RE: No Secret Key [ Reply ]
By: Bernhard Reiter on 2021-06-10 06:44[forum:7961]
If it is installed, just start it via the icon or the start menus.
If it isn't installed, run the Gpg4win Installer again (it means you had explicitely deselected it)
Bernhard
-
-
-
-
Kleopatra Issues [ Reply ] By: Mark W on 2021-01-05 20:04 | [forum:7604] |
I have a public key in my key ring that had different expiration dates depending on where you look at it. In the built in Open PGP key manager in Thunderbird it says it expires in 2022 but in Kleopatra it says 2027. Also in Kleopatra it shows "E_error" for the strength. I assume that is a bug?? |
-
RE: Kleopatra Issues [ Reply ]
By: life eternal on 2021-02-04 03:00[forum:7687]
2021-01-12 23_30_49-Running as Administrator.png (32) downloadsIs there any way to get around the message saying "Kleopatra cannot be run as administrator without breaking file permissions in the GnuPG data folder" ?
Thank you.
-
RE: Kleopatra Issues [ Reply ]
By: Yong Huang on 2021-06-05 18:51[forum:7943]
Has this problem been solved? I have the same problem. Can you tell me how to solve it
-
RE: Kleopatra Issues [ Reply ]
By: Bernhard Reiter on 2021-06-07 10:53[forum:7948]
Hi Yong,
did you read https://wiki.gnupg.org/Gpg4win/RunAsUser already?
Best Regards,
Bernhard
-
-
No secret key 2 [ Reply ] By: Scott mcmahon on 2021-06-05 08:41 | [forum:7942] |
We have the same problem we backed up our public and private keys - later we tried to load the backup files into kleopatra i.e. pubring-bak.pkr and secring-bak.skr When we go to decrypt is keeps saying no secret key ? We need to get this working as we have used these keys in our business. |
-
RE: No secret key 2 [ Reply ]
By: Bernhard Reiter on 2021-06-07 10:51[forum:7947]
Scott,
what did your import process say?
Does Kleopatra display the keys and indicates that there is a secret part (with bold face)?
On the cmd.exe try a
gpg --list-secret-keys
Does this list your secret keys? (If not, then retry the import).
Regards,
Bernhard
Cannot decrypt using GPGSM - No Secret Key [ Reply ] By: Themis` Zarotiadis on 2017-07-03 09:57 | [forum:4973] |
Hi to all, On a folder I have: 1. a private RSA 2048 key (privatekey.pem) 2. the public key exported form the private key (publickey.pem) 3. the X.509 Certificate (mycert.pem) that is also imported with the command: gpgsm --import mycert.pem Also this certificate is listed correctly when I issue command: gpgsm -k (let's say that the email is ab@ab.com and the CN=AB) I also have one simple data.txt file containing some text. When I issue the encrypt command: gpgsm -r ab@ab.com -o data_enc.txt --armor --encrypt data.txt I get the encrypted text. Perfect! But when I try to decrypt, using: gpgsm -o data_dcr.txt --decrypt data.txt I get an error: gpgsm: DBG: recp 0 - issuer: `1.2.840.113549.1.9.1=#747A4065642E636F6D,CN=AB,O=Internet Widgits Pty Ltd,ST=Some-State,C=GR' gpgsm: DBG: recp 0 - serial: 00A2506CB9E81EB5E8 gpgsm: error decrypting session key: No secret key gpgsm: decrypting session key failed: No secret key gpgsm: message decryption failed: No secret key <GpgSM> Needless to say that gpgsm --list-secret-keys just returns C:\Users\myusername\AppData\Roaming\gnupg\pubring.kbx ------------------------------------------------ So the point is, I caannot figure out how to decrypt the file using gpgsm. Tried also to import privatekey.pem but got "no issuer..." which is normal for the private key... Also if i use same keys private, public to encrypt/decrypt using OpenSSL (same x.509) everything works fine. Thank you all in advance for any answers. Themis |
Lookup on Server - not returning any data [ Reply ] By: John Arnold on 2021-05-27 18:18 | [forum:7929] |
I am trying Lookup on Server for signing.authority@iohk.io. Nothing is returned. I am not sure how to troubleshoot this. I am running on Win10. I have also tried turning off the firewalls to make sure nothing was blocked. Any help is appreciated--I am new to this tool. |
-
RE: Lookup on Server - not returning any data [ Reply ]
By: Bernhard Reiter on 2021-05-28 08:19[forum:7931]
Hi John,
welcome to Gpg4win (and its crypto engine GnuPG)!
If you are looking for a public key that is associated to an email address, there are several methods. And you can only find one, if one exists and was published.
Am I assuming correctly that you know that a public key for this email address exists?
The first method today should be to ask via WKD (if a web key directory entry exists) for iohk.io.
In general Gpg4iwn calls its crypto engine to do the work, so if you want to do more (and your a a bit technically inclined), you can use command line operations and raise their verbosity to get a lot of information for technical diagnosis.
E.g. I've tried
gpg --locate-external-key signing.authority@iohk.io
gpg: error retrieving 'signing.authority@iohk.io' via WKD: No data
gpg: error reading key: No data
Okay, no WKD entry.
Next would be public keyserver, you can do this manually, e.g. by going to
http://keys.gnupg.net/ (note this is round robin DNS, so it will direct you to different servers,
which some may not be working at the time so the experience will vary.)
http://keys.gnupg.net/pks/lookup?search=signing.authority%40iohk.io&fingerprint=on&op=index
Got me pubkeys.
gpg --keyserver keys.gnupg.net --search signing.authority@iohk.io
gpg: data source: http://hkps.pool.sks-keyservers.net:11371
gets me pubkey sometimes. So it seems that some public keyserver work,
and have the pubkeys, others doesn't.
(There are more ways to debug this.)
To exclude your firewalls, try to search for other public keys that are more likely to be carried by many public keyservers. If you find some, then it is not your network connection, but
the keyserver you were randomly connected to.
Does this help?
Best Regards,
Bernhard
CertUtil: -hashfile command FAILED using CMD windows [ Reply ] By: Gwen Fargo on 2021-05-10 06:34 | [forum:7883] |
I downloaded Gpg4win and wanted to authenticate if everything was legit during download so I used the following below in windows 8.1 command prompt: C:\Users\mycomputer\Downloads>certutil -hashfile gpg4win-3.1.13.exe sha256 CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: The system cannot find the file specified. I can open Gpg4win on my desktop fine. |
-
RE: CertUtil: -hashfile command FAILED using CMD windows [ Reply ]
By: Bernhard Reiter on 2021-05-10 13:22[forum:7884]
Hi Gwen,
you may need to adapt the filename "gpg4win-3.1.13.exe" to the file you have actually downloaded.
Note that if you can start Gpg4win already, then it is already installed.
Using one method of checking the integrity **before** installation is enough.
Best Regards,
Bernhard
-
Checking Gpg4win download in CMD windows [ Reply ]
By: Gwen Fargo on 2021-05-11 06:28[forum:7885]
Hi Bernhard,
I would like to check integrity of the gpg4win that I downloaded. So I adapted the file from "gpg4win-3.1.13.exe" to "gpg4win-3.1.15.exe" (actual download name). However I got same result. Which is:
C:\Users>certutil -hashfile gpg4win-3.1.15.exe sha256
CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT
CertUtil: The system cannot find the file specified.
-
RE: Checking Gpg4win download in CMD windows [ Reply ]
By: Bernhard Reiter on 2021-05-11 09:32[forum:7886]
Hi Gwen,
you could either
a) use a different integration checking method, see https://wiki.gnupg.org/Gpg4win/CheckIntegrity
or
b) check with the explorer or the command lines (dir) command if the file "gpg4win-3.1.15.exe" is actually in the directory that you are in. Maybe you need to issues a few change directory commands (cd) before.
Regards,
Bernhard
-
RE: Checking Gpg4win download in CMD windows [ Reply ]
By: Gwen Fargo on 2021-05-12 03:19[forum:7887]
Hi Bernhard
I went with option B and I got this:
certutil -hashfile gpg4win-3.1.15.exe sha256
SHA256 hash of file gpg4win-3.1.15.exe:
58 b4 de 19 2c e0 f3 a7 f2 57 66 e9 6e c3 79 a8 f1 25 e3 a1 e2 bd b2 51 9c 18 5a
03 a0 a4 ed 4c
CertUtil: -hashfile command completed successfully.
If this means Check Integrity is authentic then thanks for assisting.
-
-
-
GPG Using batch [ Reply ] By: phil phil on 2021-05-06 20:25 | [forum:7874] |
Trying to find out how to get bat file to work. I am trying to encrypt a folder that as a few files in it. I am using cmd, when I run the command/bat file it keeps asking to use key (y/n), I want it to say yes, I thought the using the --yes would work but cant seem to find the correct order or correct command structure. tried a few different options gpg --batch --yes -r ps_ua --encrypt-files *.txt ---errors with unusable public key gpg --no-batch --yes -r crypto.ual.com --encrypt-files *.txt ---asks for y/n gpg --no-batch -r crypto.ual.com --encrypt-files *.txt --asks for y/n gpg -r crypto.ual.com --multifile --encrypt --yes *.txt --yes --asks for y/n anyone have little guidance/pointers? |
-
RE: GPG Using batch [ Reply ]
By: Bernhard Reiter on 2021-05-07 08:39[forum:7877]
Hi Phil,
if gpg asks you, it often is because it is not yet clear that the public key of the recpient really is the key you want to encrypt to.
In this situation you can see why the public key is not trusted enough to be the right
one and change that by either:
* sign the public key with a trusted private key you have
* change the trust model for this operation (which means you need a different external validation scheme) see documentation for --trust-model always or --trusted-key
Hope that helps, ;)
Bernhard
-
RE: GPG Using batch [ Reply ]
By: phil phil on 2021-05-07 12:24[forum:7878]
I have the cert set to to full trust (i believe checks are very accurate). I tried to certify the cert but didn't change anything.
-
RE: GPG Using batch [ Reply ]
By: Bernhard Reiter on 2021-05-07 13:04[forum:7879]
Hi Phil,
what kind of question is coming up in particular?
(The setting to trust a key to certify other keys has to be done on your private keypair.)
Regards,
Bernhard
-
RE: GPG Using batch [ Reply ]
By: Andre Heinecke on 2021-05-07 13:06[forum:7880]
--trust-model always
will end any questions about trust. But please combine this with setting "-r" to the fingerprint of the certificate you want to use to encrypt to so that it is ensured the right cert is used.
-
RE: GPG Using batch [ Reply ]
By: Bernhard Reiter on 2021-05-07 13:39[forum:7881]
@Andre,
--trust-model always is what I had recommended in my first response.
Phil wrote that it did not make the question go away. ;)
Best,
Bernhard
-
-
RE: GPG Using batch [ Reply ]
By: phil phil on 2021-05-07 14:41[forum:7882]
so I went back and re-certified cert and then closed and restarted program and it seemed to work now. Odd that it is working now..well not really thats kind of the way it works :)
thanks
-
-
application for android or ios [ Reply ] By: rafasg2016 Souza on 2021-04-07 02:26 | [forum:7851] |
Good morning, I wanted to ask if you have an application for android or ios to open the files encrypted by gpg4win? If so, what would it be? |
-
RE: application for android or ios [ Reply ]
By: Bernhard Reiter on 2021-04-07 08:18[forum:7852]
Hi Rafae,
as Gpg4win uses the OpenPGP and tar standards (for files and directories), other applications can implement this.
OpenKeyChain with one of the file managers from Fdroid linke from here should work:
https://www.openkeychain.org/faq/#i-see-no-suitable-option-in-the-app-selection-menu-when-trying-to-open-a-local-file-whats-wrong
For iOS I don't know the details, maybe https://github.com/lucanaef/PGPro can do it?
Best Regards,
Bernhard
-
RE: application for android or ios [ Reply ]
By: rafasg2016 Souza on 2021-04-08 00:02[forum:7853]
I tried for the openkay chain, when I select the file encrypted with Gpg4win and it returns the following message "no valid key found in the file / clipboard"
All applications that I search for on android work and with PGP, which would be another type of protocol it seems. I did not find and none for GPG.
-
RE: application for android or ios [ Reply ]
By: Bernhard Reiter on 2021-04-08 07:43[forum:7854]
Hi Rafae,
as far as I understand, you need to use one of the mentioned file managers
(which in the backgroup use openkeychain). Of course, when using OpenPGP encryption, you'd also need to have imported the private key material to the Android device in order to decrypt.
Best,
Bernhard
-
RE: application for android or ios [ Reply ]
By: rafasg2016 Souza on 2021-04-08 16:59[forum:7856]
Now I understand why it didn't work, I just took the encrypted file, even though I had both recommended applications installed. I used the setting - encrypted with password: Anyone you share the password with will be able to read the data. And I unchecked the other options.
-
-
-
Tool to limit the number of assumptions for encryption keys [ Reply ] By: rafasg2016 Souza on 2021-04-05 01:46 | [forum:7835] |
Good Morning I had a doubt and wanted to ask for help from you; Gpg4win has the option to encrypt files and folders, I was wondering if it has a feature that limits the attempt to enter the password, to avoid brute force attacks, like in ATMs, where when you make a mistake you have to wait 24 hours before trying again. I use a program called Glaryssoft for encryption and it has this feature of limiting attempts, the only bad thing is that it uses the Blowfish protocol, I haven't seen it well on the internet. Thanks |
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Bernhard Reiter on 2021-04-05 10:19[forum:7840]
Hello Rafae,
the pinentry usually allows three attempts and then reports back to the component called gpg-agent, that entrering the pinentry failed. However it can be tried again.
So there is no limits on how often a passphrase (or password) can be tried.
It does not make sense to do such a limit, because the secret key material, which is protected by the passphrase is saved on disk. Once the attacker gets hold of the files on disk, no application can limit the attempts anymore, the attacker can just run many instances.
However the key derivation function (KDF) used by GnuPG (the crypto engine of Gpg4win) is designed to make attacks on the files hard. Ideally it will make computation of a key from a passphrase so expensive that a brute force attack is not practial. For more details see
* https://www.gnupg.org/documentation/manuals/gcrypt/Key-Derivation.html
* https://en.wikipedia.org/wiki/Key_derivation_function
Best Regards,
Bernhard
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: rafasg2016 Souza on 2021-04-05 12:56[forum:7844]
I understood, in this case, this Glaryssoft password limiter would be of little use, because if an attacker caught the encrypted file he could still try the dictionary or brute force attack? In this case, the most logical thing you could do would be to adopt mechanisms to delay the process that you did not even mention?
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Les Dee on 2021-04-05 13:09[forum:7845]
What difference does it make whether an attack takes 1000 centuries or only 100 :)
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Bernhard Reiter on 2021-04-06 07:41[forum:7850]
Hi,
as for theoretical speed of brute force attaches (== trying all possible passwords): The safety is only an estimation based on how fast computing speeds grows and how much money it costs. So having a magnitude more safety margin is a good idea in many cases.
The delay of the offline attack comes from the strength of the key derivation function (as mentioned).
Regards,
Bernhard
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Les Dee on 2021-04-05 12:47[forum:7843]
I understand and accept the answer.
It then begs the question as to why the pinentry screen needs to be so strict as to only allow 3 tries.
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Bernhard Reiter on 2021-04-06 07:35[forum:7848]
Hi Les,
the pinentry re-tries are for one operation. There needs to be a way to tell
if an operation has failed (for now) and should or should not be re-attempted.
As people can misstype, it is probably fine if pinentry tries three times for one operation.
Regards,
Bernhard
-
RE: Tool to limit the number of assumptions for encryption keys [ Reply ]
By: Andre Heinecke on 2021-04-08 12:26[forum:7855]
what has not been mentioned here are smartcards. With them you have an insurance that the key to decrypt data is only stored on the smartcard and will be blocked once you have entered the PIN wrongly three times in a row. This eliminates the brute force potential.
-
-
-
Tool to limit the number of assumptions for encryption keys - part 2 [ Reply ] By: rafasg2016 Souza on 2021-04-06 03:42 | [forum:7847] |
Yesterday I asked about limiting the attempt to enter the password as a way to protect an encrypted file, which is a feature of the GlarySoft program, and Bernhard Reiter gave me the answer that After the attacker gets the files on the disk, no application can limit the more attempts, the attacker can simply run multiple instances. I just wanted to know if this tool to limit password attempts would be useless, because even with this feature it would still be possible to execute a dictionary attack or brute force? |
-
RE: Tool to limit the number of assumptions for encryption keys - part 2 [ Reply ]
By: Bernhard Reiter on 2021-04-06 07:38[forum:7849]
Hi Rafae,
as I don't know what the Glarysoft program does, I cannot evaluate it.
The principle holds though: once an attacker gets hold of the (encrypted) private key material on disk, it will be able to run attempts as fast as its machines allow.
(Again: A strong key derivation function will make this take more time.)
Regards,
Bernhard
Help to encrypt multiple files by command line [ Reply ] By: leandro ocampos on 2019-12-03 16:27 | [forum:6891] |
I have a script to automate files, but when I want to encrypt several I get the error: use: gpg [options] --encrypt [filename] I can only encrypt from one file, could someone solve this problem? The line I use is IN BATCH: gpg.exe --trust-model always --encrypt --recipient myPublickey "path file" can you give me a hand? |
-
RE: Help to encrypt multiple files by command line [ Reply ]
By: Q B C on 2021-04-05 18:32[forum:7846]
Hello,
Did you ever get the loop working? Thanks
Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ] By: BRAC C on 2021-03-30 09:32 | [forum:7811] Screenshot 2021-03-30 14-18-15.png (14) downloads |
Hello, I have the latest version (3.1.15) of GPG4WIN installed on my system. However, since the last few days or so, both Kleopatra and its command line counterpart are blocked by Windows smartscreen for unknown reasons. Upon lauching Kleopatra you are greeted with the Self Test dialog with one failed test (gpg configuration check). Invoking gpg.exe via command line (as administrator) also fails with "Access denied" message -- apparently by Windows smartscreen. Please see the screenshots attached. I've tried a reinstall of the gpg4win suite followed by a reboot with no luck. Disabling smartscreen too has little effect. Also, it seems all my stored certificates have been nuked in the process, although I do have a backup. Any help's appreciated. Thank you |
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-30 09:36[forum:7812]
Screenshot 2021-03-30 14-24-42.png (39) downloadsSeems you can only upload one file per post.
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: Bernhard Reiter on 2021-03-30 11:39[forum:7815]
Thanks for reporting!
Can you give the precise version of windows you are using?
If you are in a position to test this: Does this work, if you disable smartscreen?
(I was under the impression that smartscreen would have stopped the installer,
but not files that got installed. Did you, by chance install Gpg4win as a different user?)
Best Regards,
Bernhard
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-30 13:21[forum:7818]
Hi,
Forgot to add the version details. I'm on Windows 10 20H2-19042.867
The second screenshot was taken with the smartscreen disabled but it still fails. It's weird smartscreen didn't interrupt the installation itself.
The installation was done as an elevated user. If I remember right Gpg4win doesn't let you install as a standard user (at least the last time I tried)
Thank you
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: Bernhard Reiter on 2021-03-31 07:19[forum:7822]
Hi,
can you report on all the attributes of the gpg.exe file that is failing.
Please also calculate a checksum (e.g. sha256 or so) and give the precise length.
We have to rule out that the file or the permissions somehow got corrupted.
Thanks,
Bernhard
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-31 08:43[forum:7824]
Looks like the gpg.exe is indeed corrupted. It reports the file size as 0 bytes.
Here's the checksum:
Name: gpg.exe
Size: 0 bytes
CRC32: 00000000
CRC64: 0000000000000000
SHA256: E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
SHA1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
BLAKE2sp: DD0E891776933F43C7D032B08A917E25741F8AA9A12C12E1CAC8801500F2CA4F
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-31 09:26[forum:7825]
Hi,
Only just found out Gpg4Win has to be installed without elevated privileges. Would you recommend a reinstall as a standard user to see if the issue persists?
I clearly remember the installer (one of the older versions) warning you install as administrator so that all user accounts can benefit. So, I make it a practice to run the installer from an elevated CMD to avoid having to input the password every time.
Thank you
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: Bernhard Reiter on 2021-03-31 11:17[forum:7826]
BRAC,
does ist all work fine, if you install it as regular user?
(What I am sure of is that it should be "run" only as regular user.)
Best,
Bernhard
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-31 11:33[forum:7827]
Will try as a regular user and report back... That will take me some time because I'm not ready yet for a system restart.
Thank you
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-03-31 14:49[forum:7829]
Screenshot 2021-03-31 20-04-56.png (8) downloadsHi,
I just reinstalled as a regular user to the Appdata/Local folder despite the installer's recommendation to install with administrator rights (screenshot attached).
Although both Kleopatra and gpg.exe work even with smartscreen turned on, the issue now is the gpg explorer context menu doesn't show up in spite of selecting the gpgEX check box during installation. Hope this particular feature doesn't require installation as admnistrator.
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-04-01 10:03[forum:7831]
Hi,
Any idea why the "More gpgEX options" doesn't show up upon right clicking a file. I don't see any options in Kleopatra settings to enable this feature. It's strange I'm having these little issues now considering I've been using gpg4win for years without any hiccups.
I don't want to open a new topic for this. So, I"ll ask here:
Is it normal that two revocation certificates created years apart of a particular key shows different block data (that wall of random text) with different file sizes?
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: Bernhard Reiter on 2021-04-01 10:22[forum:7832]
Hi BRAC,
yes, it is strange indeed.
Kleopatra itself does not interfere with GpgEX, it only talks (and my help to configure) the crypto engine. The install as regular user may cause the problem with gpgol, (again wild guess).
As for the revocation certificates (assuming OpenPGP): They will contain at least the date and time, so they will be different files. Size could also vary depending on crypto defaults for the signature. (If there are more question, please open another topic.)
Best,
Bernhard
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-04-02 09:13[forum:7833]
Thanks for the clarification on revocation certificates.
I'll put up with the unavailable GpgEx for now and hope for a fix in a future release. GpgOL doesn't bother me much because I don't use outlook (for now).
Don't want to drag on this discussion (off topic) much but it would be nice
if the installer didn't warn (mislead) the user to install Gpg4Win suite with administrative rights if it's indeed intended to be installed as a regular user.
Anyway, thanks for your help and patience.
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: Bernhard Reiter on 2021-04-05 10:09[forum:7838]
Hi BRAC,
as far as I know Gpg4win should be installed as admnistrator, but run as regular user.
Best,
Bernhard
-
RE: Windows Smart Screen blocks Kleopatra & gnupg command line functionality [ Reply ]
By: BRAC C on 2021-04-05 11:45[forum:7842]
Thanks for the heads up Bernhard.
Hope the smartscreen thing behaves this time.
-
-
-
-
-
-
-
-
-
-
-
-
-
Decrypting folder without asking for password [ Reply ] By: rafasg2016 Souza on 2021-04-05 02:06 | [forum:7836] |
Good Morning One factor caught my attention, when I encrypt an individual file when I click on decrypt it asks me for the chosen password, when I encrypt a folder and I click on decrypt it already does the process automatically without asking for the password, is this an error or is it normal? How can I configure the program so that the program asks me for a password every time I decrypt a folder? Thanks |
-
RE: Decrypting folder without asking for password [ Reply ]
By: Les Dee on 2021-04-05 04:22[forum:7837]
The probable answer: When you enter the password it is cached - kept for 10 minutes (I think). So it does not ask again during that time.
Test it again.
-
RE: Decrypting folder without asking for password [ Reply ]
By: Bernhard Reiter on 2021-04-05 10:22[forum:7841]
Hi,
yes, gpg-agent caches the passphrase for a secret key.
You can change the setting to disable caching.
The option is --default-cache-ttl you can also set if via Kleopatra (IIRC).
Regards,
Bernhard
-
Application Error: The instruction at... The memory could not be read. [ Reply ] By: josef novak on 2021-03-24 19:46 | [forum:7800] kleopatra error.png (23) downloads |
Hello, I just installed GPG4WIN on Windows 10 Pro x64. Verified using checksum and openpgp signature. Latest gpg4win version - 3.1.15. When I exit Kleopatra I get following error. It happened twice now. I include picture with exact error message! Thanks for help. |
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: Bernhard Reiter on 2021-03-26 15:01[forum:7803]
Hi Josef,
so far I've never seen this sort of problem.
Are there any other problems on your machine?
(Years ago, it could happen that memory corrupted, also malware or some other defect on the hardware <-> operating system layer could cause this.)
If if only happens when you close Kleopatra and everything else works.
(And you do not have any finding with microsoft defender or so).
I'd say the best way is to wait until there are more reports about this,
to see a pattern.
Best Regards,
Bernhard
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: BRAC C on 2021-03-30 11:06[forum:7813]
I too can confirm noticing similar memory related messages using kleopatra before the whole thing stopped working altogether (seemingly related to Windows smart screen). Please see this topic: https://wald.intevation.org/forum/forum.php?thread_id=2313&forum_id=21&group_id=11
Not sure if a recent Windows update has anything to do with it because the 3.1.15 version just fine the last time it was a run about a month or so back.
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: BRAC C on 2021-03-30 11:07[forum:7814]
I too can confirm noticing similar memory related messages using kleopatra before the whole thing stopped working altogether (seemingly related to Windows smart screen). Please see this topic: https://wald.intevation.org/forum/forum.php?thread_id=2313&forum_id=21&group_id=11
Not sure if a recent Windows update has anything to do with it because the 3.1.15 version worked just fine the last time it was a run about a month or so back.
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: Bernhard Reiter on 2021-03-30 11:40[forum:7816]
Hi BRAC,
are you getting the very same message?
Best,
Bernhard
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: BRAC C on 2021-03-30 13:24[forum:7819]
Hi Bernhard
Yes it was the same message about memory reference but I'm not sure if the number string was the same. Can't reproduce the error now that it won't let me past the "Startup failed" dialog (as mentioned in my other topic).
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: josef novak on 2021-03-30 20:40[forum:7820]
I Am plagued by most ridiculous bugs. Clean system, no errors both (sfc/dism), no Event Viewer errors. Hardware should be fine, nowhere else I have this problem. I use Bitdefender, didn't have any detections long time! I restored from backup and this error is gone. But Kleopatra wasn't starting LOL, now it does for whatever reasons...
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: josef novak on 2021-03-30 21:22[forum:7821]
Oh no It was too soon to tell. Again I get this error when I close Kleopatra.
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: Bernhard Reiter on 2021-03-31 07:29[forum:7823]
Hi Josef,
it is kind of strange. Sorry to read that you are having problems.
So we need to find a way to get more infos.
Maybe we need to find out which instruction is causing the problem in the first place, unfortunately this may have to be done with debugging tools.
We should try to exclude that the files were manipulated, can you compute checksums?
Taking your screenshot and typing in the numbers:
"The instuction at 0x000000007266CCE0 referenced memory at 0x00000000756DD488. The memory could not be read."
The generally seems to mean an problem that code tries to access some parts which it shouldn't. See some hints for this access to a zero pointer or so:
https://stackoverflow.com/questions/38743615/how-to-diagnose-the-instruction-at-0x-referenced-memory-at-0x00000000
However if this was a general problem with Gpg4win, we'd probably had more reports, so there must be additional factors triggering this.
Regards,
Bernhard
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: josef novak on 2021-03-31 14:33[forum:7828]
klepatra error 1.png (27) downloadsI verified checksum before install, both in digital signatures and using Power Shell. Now I verified using PGP signature, it said it verified exe, but couldn't verify 2 signatures. That's normal right, because you would also have to verify public key. It would say some error, if signature didn't match exe and public key signature, no? I scanned it also with Bitdefender. I imported 2 keys from keyserver, one public key to verify signature (intevation key, has same ID), and second - no idea for what it was.
I also noticed a new problem: Kleopatra isn't starting and there is only white window. It just started, but now it doesn't LOL. I wanted to make screenshot: if it will show same error after exit. Also it doesn't give this error every time I exit! After I got error when closing Kleopatra, on next exit: Kleopatra wasn't launching and there was white screen inside its Window. Now after restart it launches and no error when exit - I tried 2 times.
If I didn't see no errors anywhere else like this. No issues with RAM.
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: Bernhard Reiter on 2021-04-01 07:25[forum:7830]
Josef,
yes, this is indeed very strange. Again I haven't heard of anything like this before.
(And if this would affect many users, we would have heard much more about it. So there must be a factor that is not found often. Some sort of corruption.)
As for the integrity of the installer: It indeed is enough to use one verification method.
What I am thinking of is corruption oder interference after installation, so on disk
or memory. I have no better idea. But if there are no other symptoms (in other applications or the
operating system itself) and you are not running any strange software, I don't know what the additional factors are. If it is easy for you to do, you could try to boot from a rescue antivirus media and check the filesystem, but this is just a shot in the blue.
Regards,
Bernhard
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: BRAC C on 2021-04-03 10:05[forum:7834]
Screenshot 2021-04-03 15-21-47.png (11) downloadsJust an update on the memory reference error. I just had the error pop up again upon exiting Kleopatra as mentioned by the OP. Clearly something's not in order with the behaviour of the latest version of Gpg4Win. Maybe It's a conflict with a recent Windows update because it's specific to kleopatra.
Screenshot attached
-
RE: Application Error: The instruction at... The memory could not be read. [ Reply ]
By: Bernhard Reiter on 2021-04-05 10:10[forum:7839]
Are you saying that with an elder version of Gpg4win you are not seeing this problem at all?
(Only run revision version of Gpg4win if this fits your security needs as they may lack important improvements.)
Regards,
Bernhard
-
-
-
-
-
-
-
Newer Messages | Older Messages |