title: git-secret: gpg: [don't know]: partial length invalid for packet type 20 in the gitlab ci job
body: <p>I have a trouble with git secret in the gitlab ci jobs.</p>
  <p>What I done:</p>
  <ol>
  <li>init, add users, add files, hide them using git secret</li>
  <li>create a job where I want to reveal files:</li>
  </ol>
  <pre class="lang-yaml prettyprint-override"><code>git secret:
    stage: init
    before_script:
      - sh -c &quot;echo 'deb https://gitsecret.jfrog.io/artifactory/git-secret-deb git-secret main' &gt;&gt; /etc/apt/sources.list&quot;
      - wget -qO - 'https://gitsecret.jfrog.io/artifactory/api/gpg/key/public' | apt-key add -
      - apt-get update &amp;&amp; apt-get install -y git-secret
    script:
      - echo $GPG_PRIVATE_KEY | tr ',' '\n' &gt; ./pkey.gpg
      - export GPG_TTY=$(tty)
      - gpg --batch --import ./pkey.gpg
      - git secret reveal -p ${GPG_PASSPHRASE}
  </code></pre>
  <p>Result logs:</p>
  <pre><code>...
  $ gpg --batch --import ./pkey.gpg
  gpg: directory '/root/.gnupg' created
  gpg: keybox '/root/.gnupg/pubring.kbx' created
  gpg: /root/.gnupg/trustdb.gpg: trustdb created
  gpg: key SOMEKEY: public key &quot;Email Name &lt;ci@email.com&gt;&quot; imported
  gpg: key SOMEKEY: secret key imported
  gpg: Total number processed: 1
  gpg:               imported: 1
  gpg:       secret keys read: 1
  gpg:   secret keys imported: 1
  $ git secret reveal -p ${GPG_PASSPHRASE}
  gpg: [don't know]: partial length invalid for packet type 20
  git-secret: abort: problem decrypting file with gpg: exit code 2: /path/to/decrypted/file
  </code></pre>
  <p>I don't understand where the problem. What mean <code>packet type 20</code>? And length of what?
  Locally it revealed fine. Command <code>git secret whoknows</code> shows that email on the ci env can decrypt. Passphrase checked and passed to the job.</p>