projects/libpws

diff include/pws.h @ 13:2bb1bbac1d0a

Added tag version-1.0.0 for changeset 1926dfc9feb0
author Guido Berhoerster <guido+libpws@berhoerster.name>
date Sun Aug 04 21:37:56 2019 +0200 (2019-08-04)
parents d541e748cfd8
children
line diff
     1.1 --- a/include/pws.h	Tue Feb 10 11:29:54 2015 +0100
     1.2 +++ b/include/pws.h	Sun Aug 04 21:37:56 2019 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  #define	LIBPWS_VERSION_MINOR	0
     1.5  #define	LIBPWS_VERSION_MICRO	0
     1.6  
     1.7 -#define	PWS3_VERSION		0x030D
     1.8 +#define	PWS3_VERSION		0x030E
     1.9  
    1.10  #define	PWS3_MAX_FIELD_SIZE	(16 * 1024)
    1.11  #define	PWS3_MAX_PASSWORD_LEN	1023
    1.12 @@ -87,6 +87,7 @@
    1.13  	PWS3_HEADER_FIELD_NAMED_PASSWORD_POLICIES,	/* 0x10 */
    1.14  	PWS3_HEADER_FIELD_EMPTY_GROUPS,			/* 0x11 */
    1.15  	PWS3_HEADER_FIELD_YUBICO,			/* 0x12 */
    1.16 +	PWS3_HEADER_FIELD_PASSWORD_TIMESTAMP,		/* 0x13 */
    1.17  	PWS3_HEADER_FIELD_END = 0xff
    1.18  };
    1.19  
    1.20 @@ -116,6 +117,14 @@
    1.21  	PWS3_RECORD_FIELD_SHIFT_DOUBLE_CLICK_ACTION,	/* 0x17 */
    1.22  	PWS3_RECORD_FIELD_PASSWORD_POLICY_NAME,		/* 0x18 */
    1.23  	PWS3_RECORD_FIELD_KEYBOARD_SHORTCUT,		/* 0x19 */
    1.24 +	PWS3_RECORD_FIELD_RESERVED_2,			/* 0x1a */
    1.25 +	PWS3_RECORD_FIELD_TWO_FACTOR_KEY,		/* 0x1b */
    1.26 +	PWS3_RECORD_FIELD_CREDIT_CARD_NUMBER,		/* 0x1c */
    1.27 +	PWS3_RECORD_FIELD_CREDIT_CARD_EXPIRATION,	/* 0x1d */
    1.28 +	PWS3_RECORD_FIELD_CREDIT_CARD_VERIFICATION_VALUE, /* 0x1e */
    1.29 +	PWS3_RECORD_FIELD_CREDIT_CARD_PIN,		/* 0x1f */
    1.30 +	PWS3_RECORD_FIELD_QR_CODE,			/* 0x20 */
    1.31 +	PWS3_RECORD_FIELD_TESTING_1,			/* 0xdf */
    1.32  	PWS3_RECORD_FIELD_END = 0xff
    1.33  };
    1.34