enum

GitHub::Verification::Reason

Inherits Enum < Comparable < Value < Object

Constants

EXPIRED_KEY = 0

Value Description The key that made the signature is expired.

NOT_SIGNING_KEY = 1

The "signing" flag is not among the usage flags in the GPG key that made the signature.

GPGVERIFY_ERROR = 2

There was an error communicating with the signature verification service.

GPGVERIFY_UNAVAILABLE = 3

The signature verification service is currently unavailable.

UNSIGNED = 4

The object does not include a signature.

UNKNOWN_SIGNATURE_TYPE = 5

A non-PGP signature was found in the commit.

NO_USER = 6

No user was associated with the committer email address in the commit.

UNVERIFIED_EMAIL = 7

The committer email address in the commit was associated with a user, but the email address is not verified on their account.

BAD_EMAIL = 8

The committer email address in the commit is not included in the identities of the PGP key that made the signature.

UNKNOWN_KEY = 9

The key that made the signature has not been registered with any user's account.

MALFORMED_SIGNATURE = 10

There was an error parsing the signature.

INVALID = 11

The signature could not be cryptographically verified using the key whose key-id was found in the signature.

VALID = 12

None of the above errors applied, so the signature is considered to be verified.

Instance methods

bad_email?

Returns true if this enum value equals BAD_EMAIL

Source
expired_key?

Returns true if this enum value equals EXPIRED_KEY

Source
gpgverify_error?

Returns true if this enum value equals GPGVERIFY_ERROR

Source
gpgverify_unavailable?

Returns true if this enum value equals GPGVERIFY_UNAVAILABLE

Source
invalid?

Returns true if this enum value equals INVALID

Source
malformed_signature?

Returns true if this enum value equals MALFORMED_SIGNATURE

Source
no_user?

Returns true if this enum value equals NO_USER

Source
not_signing_key?

Returns true if this enum value equals NOT_SIGNING_KEY

Source
unknown_key?

Returns true if this enum value equals UNKNOWN_KEY

Source
unknown_signature_type?

Returns true if this enum value equals UNKNOWN_SIGNATURE_TYPE

Source
unsigned?

Returns true if this enum value equals UNSIGNED

Source
unverified_email?

Returns true if this enum value equals UNVERIFIED_EMAIL

Source
valid?

Returns true if this enum value equals VALID

Source