def parseOpenPGPFingerprintRecord(value):
    """
    Extract fingerprints from an OpenPGP fingerprint record's value.
    """
    parts = value.split(';')
    fingerprint = None
    uri = None
    for part in parts:
        if part[0:4] == 'fpr=':
            fingerprint = part[4:]
        if part[0:4] == 'uri=':
            uri = part[4:]
    if fingerprint == None:
        return None, None
    if uri == None:
        return fingerprint, None
    return fingerprint, uri
