Can encrypting well known files hurt the security of the key? I wanted to know if mass encrypting files (both well known and not so well known) on my external HDD would somehow hurt the security of my private key.

As for the details: I am using GPG with a key that is 4096 bytes with RSA and DSA set as the algorithm. I am also using a long passcode on the key. I am mass encrypting these files using a bash script I wrote up earlier today as these files were long overdue to be encrypted and I did not want to encrypt the whole drive, just parts of it.

I took a look at this question, but I am not sure that this is the same thing as my question as this talks about hashes. I appreciate the patience as I know almost nothing about cryptography.

TL;DR : Can encrypting well known files (think "known plaintext attack" etc.) hurt the security of the key?
Fgrieu answered my question in a comment to show that my key will be protected even despite the fact that I encrypted well known files.


  As a general rule, any modern encryption program should aim at security under chosen plaintext attack, and that's a goal of GPG, thus encrypting well known files should not hurt the security of your private key or otherwise compromise the confidentiality of your encrypted files; other causes with a much higher potential for that abound. [edited]