View Issue Details

IDProjectCategoryView StatusLast Update
0022269mantisbtsecuritypublic2020-05-18 16:04
Reportercm_bt Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Summary0022269: Public key for verification should be available
Description

After downloading the software package for Mantis, you should be able to verify the signature. The signature can be downloaded too (for example mantisbt-1.3.5.tar.gz.asc). But to verify it, you need to know the public key. The key ID is 0A45E2D6. The key should be uploaded to key-servers and it should be somewhere on mantisbt.org. The keys fingerprint should also be publicly available.

In the documentation there should be some short information how to test the signature, for example here:

https://www.mantisbt.org/docs/master-1.3.x/en-US/Admin_Guide/html-single/#admin.about.download

TagsNo tags attached.

Relationships

has duplicate 0025720 closedatrol Public key ID 0A45E2D6 used to verify packages isn't available on public key server 
related to 0026544 closedatrol SourceForge Files Cannot be Unzipped 
related to 0026950 confirmed Can't verify gpg signature 2.24.1 release tarball 

Activities

dregad

dregad

2019-04-27 08:06

developer   ~0062007

@vboctor you're the only one who can address this.

negora

negora

2020-04-13 02:09

reporter   ~0063836

Are there any news about this issue? Thanks.

vboctor

vboctor

2020-04-24 20:16

manager   ~0063909

Here is the public key that I use to sign releases. @dregad has validated that he can verify releases using this public key.


-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFVssJABEADI8+xMSumDJr+OsaQ0839jtURXfYdjLFmxQC7keWwqjzaVoEao
mFpzSEEmg/KBUks8UnY+xqm8hqZguT7NETwf6m/IKUv8JHSbdbO8uWto3mPb+lDu
Suf/pMrK010x48A2K02iM7zKSsEQOyryuwLePc7t9Y5WDqak1mXqnucZnALg9l9T
M8zNnVzrbvcZSNXaPudoL6I4Ki5l57Yb21VUjPatglGhr97FWnrJFqzbWKs/khsx
L99UaCVC4dUNDZhVv2cKyNeTLkF3rxUcujbZxHyJYRRXJUdkXzEg23gAPDToAsPf
EY0Rz0liV9bPzHgPeonzdnPNlVb/2OI0oIUkU7CjZUkPPyDcispk5QTjJiRAjE6G
Qmy+SrSOslMmtrNsw/QJCNbUcld653bFD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Ne7X4dMWiiZD16Mps7Haoj0z/60lb1mhE2SXnxPKoKEQ
IKMiiRi/B4svvTJK5w+aC2sxbq3JDiBivCETXR+17sibw7XmJ6M+IAh6CFFVNh7X
MMRUI71FO9xLjEoxTc30/cKoxNpar4cDx7y9AstSO6g8bMQ1sLHj6pR7v8/2PQJ7
CJ8buUKrRWoP/2Eyx5pfHKh2Lg4RsW8vxa4sFl5ezvzme5zRb2ixPNGvzJlvZJ5M
sc/JnGxzQb+Q8W//2R6SuZ1Y8pWLu0Yl1JF53nunPs6w9bO+BoOy9CeGzIrzF0PV
ugNyXIerCJByjHG1E5bkbY8ij24z1zoad/lRmK/Ahqcp1+PGlgOSsRj97u2FQxEk
oBCKeq8H6NuXUv2+SrFbZnhDqNS8XkQmU9eWSUChv/Yz+EeAR/koa8QmYagtxJNa
ctzb2xumA8x/eTiQp/o+7QhmNrccBaNKMch1Ipe8lCqUbEPXQ1LbQRWneUz9BIcu
W17zINu2w8FnrqCx2SpsM/1WGotDUclsXI+Iyw4XrVFEknGLLiwQjeM2YYZnuYTh
4qDADBSgigXr/bdrGfqiUfGeDrhfowf768P/kj2kVF/nxykKNdB1KWNsQhFVT9xz
bKqjegF1DCQoBqxUl3D67sqtomkBEPTfWuuEd3vBWB2gnQA5ReXda+FuPINXdWaF
jcKvKDt56No8vWWQPlVfOB0v1hqRG5lbhOtE4CnS5s38qPy+CW0ofC3u31HWHh9T
e/LGN4OT+MclNbAvGRHiRDUnANGhz3VDw4JknzDiLnk6Vhosp6D/GWUKoAwwBmtN
KiRlaLD81RecU9AzvULy+vcsPsSzA3pc8bAebAYhvvXIdBBTBi2F/jIm
=9aN+
-----END PGP PUBLIC KEY BLOCK-----
negora

negora

2020-04-25 03:20

reporter   ~0063910

Thank you @vboctor. Will you upload it to some key server? If so, it would be cool if you indicated which one in the downloads area. That way, it would be easier for everyone to verify the downloads.

dregad

dregad

2020-04-25 18:55

developer   ~0063911

Will you upload it to some key server?

To my knowledge, all the keys used to sign our releases are already available on the SKS pool's keyservers and possibly elsewhere too, see for example keys.gnupg.net for the one @vboctor referenced in 0022269:0063909.

That being said, I'm currently working on a KEYS file, listing all the PGP keys ever used for Mantis releases, following the same approach used by the Apache foundation. The file will be bundled within the MantisBT repository (so you will be able to download it from Github), and it will be referenced on our download page as well.

dregad

dregad

2020-04-25 19:28

developer   ~0063913

See the following PR

negora

negora

2020-04-26 07:26

reporter   ~0063916

Perfect. Thank you @dregad !

Related Changesets

MantisBT: master ab440b19

2020-04-25 12:55:16

dregad

Details Diff
Add KEYS.md: PGP public keys used to sign releases

The files contains basic instructions and lists the PGP public keys of
MantisBT Developers, which were used to sign official release packages
and the corresponding tags in the Git repository.

Issue 0022269
Affected Issues
0022269
add - KEYS.md Diff File

MantisBT: master 2b13777c

2020-04-25 13:30:02

dregad

Details Diff
KEYS.md: add former developers' PGP keys

Added the public keys used by former developers jreese and dhx to sign
release tags, as well as an old key of vboctor.

Issue 0022269

For future reference, here are the steps and commands used to automate
the process of identifying the missing keys and adding them, as I really
didn't want to manually check all 182 tags in he repository.

1. Find all annotated tags
```
git for-each-ref --format="%(objecttype) %(refname:short)" refs/tags |
grep ^tag |cut -d" " -f2| sort -V >/tmp/annotated-tags
```
2. Get all signed tags (removing annotated tags without signature), with
GPG verification data on a single line
```
cat /tmp/annotated-tags |
xargs -n1 -I TAG bash -c 'echo "TAG $(git verify-tag TAG |& paste -s)"' |
grep -v "error: no signature found" >/tmp/signed-tags-data
```
3. Identify the missing keys from the tags for which the signature could
not be checked (i.e. excluding those for which we already have a
public key). The command prints the number of identified keys.
```
cat /tmp/signed-tags-data |
sed -rn "/gpg: Can't check signature/s/^.*using \w+ key (\w+).*$/\1/p" |
sort -u |tee /tmp/missing-keys |wc -l
```
4. Retrieve the missing keys from keyserver. The command should import
the same number of keys as identified at step 3.
```
cat /tmp/missing-keys |cut -d" " -f1 |xargs gpg --receive-keys
```
5. Review, sign and trust the newly added keys.
```
cat /tmp/missing-keys |cut -d" " -f1 |xargs -n1 gpg --sign-key
```
6. Verify that we have successfully added all the necessary keys: the
following command should return an empty list.
```
cat /tmp/signed-tags-data |cut -d" " -f1 |
xargs -n1 -I TAG bash -c 'echo "TAG $(git verify-tag TAG |& paste -s)"' |
grep -v "Good signature"
```
Affected Issues
0022269
mod - KEYS.md Diff File

Website: master bd0b2635

2020-04-25 19:17:42

dregad

Details Diff
Reference KEYS file on Downloads page

Fixes 0022269
Affected Issues
0022269
mod - download.php Diff File

Issue History

Date Modified Username Field Change
2017-01-27 12:34 cm_bt New Issue
2019-04-27 07:03 atrol Relationship added has duplicate 0025720
2019-04-27 08:05 dregad Assigned To => vboctor
2019-04-27 08:05 dregad Status new => assigned
2019-04-27 08:06 dregad Note Added: 0062007
2020-01-02 03:51 dregad Relationship added related to 0026544
2020-04-13 02:09 negora Note Added: 0063836
2020-04-24 20:16 vboctor Note Added: 0063909
2020-04-25 03:20 negora Note Added: 0063910
2020-04-25 18:55 dregad Note Added: 0063911
2020-04-25 19:24 dregad Assigned To vboctor => dregad
2020-04-25 19:28 dregad Note Added: 0063913
2020-04-26 07:26 negora Note Added: 0063916
2020-05-02 11:11 dregad Changeset attached => MantisBT master ab440b19
2020-05-02 11:11 dregad Changeset attached => MantisBT master 2b13777c
2020-05-02 11:12 dregad Changeset attached => Website master bd0b2635
2020-05-02 11:12 dregad Status assigned => resolved
2020-05-02 11:12 dregad Resolution open => fixed
2020-05-09 14:35 atrol Relationship added related to 0026950
2020-05-18 16:04 atrol Status resolved => closed