Skip to content

Commit

Permalink
Implements basic support for V5 keys and signatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
joke325 committed Apr 28, 2020
1 parent 5f41ee1 commit 8c664d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/repgp/repgp_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@

/* Size of the fingerprint */
#define PGP_FINGERPRINT_SIZE 20
#define PGP_FINGERPRINT_MAX_SIZE 32
#define PGP_FINGERPRINT_HEX_SIZE (PGP_FINGERPRINT_SIZE * 3) + 1

/* Size of the key grip */
Expand Down Expand Up @@ -406,7 +407,8 @@ enum { PGP_SE_IP_DATA_VERSION = 1, PGP_PKSK_V3 = 3, PGP_SKSK_V4 = 4, PGP_SKSK_V5
typedef enum {
PGP_V2 = 2, /* Version 2 (essentially the same as v3) */
PGP_V3 = 3, /* Version 3 */
PGP_V4 = 4 /* Version 4 */
PGP_V4 = 4, /* Version 4 */
PGP_V5 = 5 /* Version 5 */
} pgp_version_t;

typedef enum pgp_op_t {
Expand Down

0 comments on commit 8c664d7

Please sign in to comment.