From 5ea77a75dd2d2158401331879f3c8f47940a732c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:35:32 +0200 Subject: Adding upstream version 2.5.13+dfsg. Signed-off-by: Daniel Baumann --- tests/data/otp/totp.ldif | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/data/otp/totp.ldif (limited to 'tests/data/otp/totp.ldif') diff --git a/tests/data/otp/totp.ldif b/tests/data/otp/totp.ldif new file mode 100644 index 0000000..1067dfd --- /dev/null +++ b/tests/data/otp/totp.ldif @@ -0,0 +1,64 @@ +dn: dc=example, dc=com +changetype: modify +add: objectClass +objectClass: oathTOTPParams +- +add: oathOTPLength +oathOTPLength: 6 +- +add: oathTOTPTimeStepPeriod +oathTOTPTimeStepPeriod: 30 +- +add: oathTOTPTimeStepWindow +oathTOTPTimeStepWindow: 3 +- +add: oathHMACAlgorithm +# SHA-1 +oathHMACAlgorithm: 1.2.840.113549.2.7 + +dn: ou=Information Technology Division,ou=People,dc=example,dc=com +changetype: modify +add: objectClass +objectclass: oathTOTPToken +- +add: oathTOTPParams +oathTOTPParams: dc=example, dc=com +- +add: oathSecret +oathSecret:: PcbKpIJKbSiHZ7IzHiC0MWbLhdk= + +dn: ou=Alumni Association,ou=People,dc=example,dc=com +changetype: modify +add: objectClass +objectClass: oathTOTPParams +- +add: oathOTPLength +oathOTPLength: 8 +- +add: oathTOTPTimeStepPeriod +oathTOTPTimeStepPeriod: 30 +- +add: oathTOTPTimeStepWindow +oathTOTPTimeStepWindow: 0 +- +add: oathHMACAlgorithm +# SHA-512 +oathHMACAlgorithm: 1.2.840.113549.2.11 + +dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example, + dc=com +changetype: modify +add: objectClass +objectClass: oathTOTPUser +- +add: oathTOTPToken +oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com + +dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example, + dc=com +changetype: modify +add: objectClass +objectClass: oathTOTPUser +- +add: oathTOTPToken +oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com -- cgit v1.2.3