Skip to contentSkip to conversation

OCSP_check.sh fixup

Openvpn-devel Hubert Kario 2 participants 2 messages Sep 23, 2014 – Sep 25, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#1 lore raw

There are few serious issues with the OCSP_check.sh script:
1. It will accept OCSP responses with bad signatures
2. It may accept OCSP old responses as currently valid

detailed description on bug tracker:
https://community.openvpn.net/openvpn/ticket/450#ticket

Pull request with fixes:
https://github.com/OpenVPN/openvpn/pull/17

Signature · 6 lines
Regards,
Hubert Kario
Quality Engineer, QE BaseOS Security team
Email: [email protected]...
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic
#2 lore raw

Hi Hubert,

Quoted 9 lines · Hubert Kario

There are few serious issues with the OCSP_check.sh script:
1. It will accept OCSP responses with bad signatures
2. It may accept OCSP old responses as currently valid

detailed description on bug tracker:
https://community.openvpn.net/openvpn/ticket/450#ticket

Pull request with fixes:
https://github.com/OpenVPN/openvpn/pull/17

Thanks.

OpenVPN uses a patch review mechanism that requires all patches to be sent to this mailinglist (see
http://community.openvpn.net/openvpn/wiki/DeveloperDocumentation). Could you pleases send your suggested changes (as one or two patches) to this mailinglist? (git format-patch is your friend). Once the patches are on the mailinglist, we can do the final code review.

Anticipating on the actual review, your suggested changes sound good to me. Normally we'd have to be careful not to break existing setups, but since this script has been broken for quite a while (and has only been fixed recently) it appears to be not used very often. So I think it is fine to change the behaviour like this.

-Steffan