Commit graph

85 commits

Author SHA1 Message Date
Kedar Sovani
0149d30a0c CASE: Extract CAT IDs from current session and add them to the Accessor 2023-02-10 20:22:28 +05:30
Kedar Sovani
725d19187e Session: Include NoC CAT fields, and populate them from the CASE exchange 2023-02-10 09:15:31 +05:30
Kedar Sovani
315b7edbc8 ACL: Add support for NOC CAT 2023-02-10 09:15:10 +05:30
Kedar Sovani
11d50485a4 ASN1: Fix incorrect time encoding for year >= 2050 2023-02-08 19:21:04 +05:30
Kedar Sovani
afd03e17d3 Minor fixes 2023-02-08 19:21:04 +05:30
Angel Yankov
6eca0b307c Derive PartialOrd for AttrValue so we can compare them directly when updating numeric attributes. 2023-02-07 12:12:25 +02:00
Kedar Sovani
d77871e44e
Merge pull request #12 from kedars/feature/txt-fields-dn
Certs: Include support for text fields in Distinguished Names
2023-01-28 09:39:58 +05:30
Kedar Sovani
e6709aab18 Cert: Update tests for parsing txt fields in DNs 2023-01-21 20:19:07 +05:30
Kedar Sovani
2d65570234 Cert: Support path-len-constraint in BasicConstraints 2023-01-21 20:18:53 +05:30
Kedar Sovani
6fa4554d6d NOC: Add support for 2 attributes 2023-01-21 20:07:07 +05:30
Kedar Sovani
a3b24c91fc basic_info: Add Software Version String support 2023-01-21 20:07:00 +05:30
Kedar Sovani
fb82caf391 data_model: provide an API for adding attributes in bulk 2023-01-21 20:06:56 +05:30
Kedar Sovani
98e0b6cef8 Cert: Include support for encoding DN strings
So far, only DN Integers were being supported. Include support for strings too
2023-01-21 20:01:15 +05:30
Marcel
4d067072f3 Reverted foreign-types to 0.3 2023-01-15 16:05:38 +01:00
Marcel
9239c78ac6 Reverted major sha2 version 2023-01-15 16:03:22 +01:00
Marcel
5e7d554eda Reverted major versions of foreign-types and hmac 2023-01-15 16:00:29 +01:00
Marcel
bdc0b6dbef Updated dependencies 2023-01-15 15:41:58 +01:00
Marcel
10b734da7d Fixed suggestions 2023-01-15 11:52:54 +01:00
Marcel
e4fd1f5194 Compute qr version 2023-01-14 16:19:13 +01:00
Marcel
9ba0e017af Clean-up 2023-01-14 16:19:03 +01:00
Marcel
4653b6d3f9 Merge branch 'mdns-discovery' into mdns-disco-multi-admin 2023-01-14 16:00:47 +01:00
Marcel
9364235f77 Merged upstream 2023-01-14 16:00:37 +01:00
Marcel
5499e6ccdc Merge branch 'feature/multi-admin' into mdns-disco-multi-admin 2023-01-14 15:59:10 +01:00
Marcel
23b4473eba Support writing of signed int 2023-01-14 11:01:08 +01:00
Marcel
c8cc5b7ea1 Fix buffer and write strings as utf8 2023-01-13 17:38:39 +01:00
Marcel
8071a7b931 Optional length when encoding 2023-01-13 13:05:22 +01:00
Marcel
8605cf6e41 Base38 decoding 2023-01-13 12:56:56 +01:00
Marcel
563e0cbd9b Ditch the chars() iterator 2023-01-13 12:12:57 +01:00
Marcel
0569cfc771 More idiomatic logic 2023-01-13 11:40:16 +01:00
Marcel
f39cff0bc2 Encode optional data fields 2023-01-12 15:42:21 +01:00
Kedar Sovani
34e137a346 Rebase changes on latest commit 2023-01-12 18:32:53 +05:30
Kedar Sovani
9858fdefdc tests: Fix test cases for featuremap 2023-01-12 18:32:33 +05:30
Kedar Sovani
8714758ae4 data_model: A number of changes required for iOS to work 2023-01-12 17:56:21 +05:30
Kedar Sovani
e6238ee2e6 noc: Support UpdateFabricLabel command 2023-01-12 17:56:21 +05:30
Kedar Sovani
40b6b0c505 admin-commissioning: Link PaseMgr with Admin Commissioning
Adding the second commissioner now works successfully through iOS! Yay!
2023-01-12 17:56:18 +05:30
Kedar Sovani
471c264a09 spake2p: Fix issues
- Verifier length was incorrect
- spake2 was not being initialised in the 'Verifier' Option
- change method for new()
2023-01-12 17:55:27 +05:30
Kedar Sovani
8d4f91b3eb mdns: Fix incorrect mask for short discriminator 2023-01-12 17:55:27 +05:30
Kedar Sovani
5c7e13c649 pase: Split out a separate Pase Mgr
- This is required so that the AdminCommissioning Cluster has a reference to the Pase Mgr
  - The Cluster can then open commissioning window accordingly
- Right now, for the error paths in the PASE/CASE sessions, I have set ResponseRequired to No,
  but I am not quite sure if this is the expected behaviour. Need to check
2023-01-12 17:55:27 +05:30
Kedar Sovani
311cc412e2 pase: Create provision to accept either password or verifier for configuring PASE 2023-01-12 17:55:27 +05:30
Kedar Sovani
98fccca392 mdns: Discriminator is a property of the 'commissionable' state 2023-01-12 17:55:27 +05:30
Kedar Sovani
b74d626efc AdminCommissioning: Baseline support
Just add all the 3 attributes, and the command open-commissioning-window that
simply sets a variable for now
2023-01-12 17:55:27 +05:30
Marcel
b74ae4ff01 Prep for optional TLV data 2023-01-12 13:13:50 +01:00
Marcel
57f94dbfd6 Merge branch 'mdns-discovery' into mdns-disco-multi-admin 2023-01-11 22:31:28 +01:00
Marcel
0f0b87a369 Copyright notice 2023-01-11 22:30:40 +01:00
Marcel
13c522d4be Clean-up 2023-01-11 22:28:23 +01:00
Marcel
bbdf680fe4 Merge branch 'mdns-discovery' into mdns-disco-multi-admin 2023-01-11 22:13:51 +01:00
Marcel
38b758398d Clean-up 2023-01-11 22:12:04 +01:00
Marcel
2b4919bb56 Merged multi-admin 2023-01-11 13:35:25 +01:00
Marcel
31034f6e89 Merge remote-tracking branch 'upstream/feature/multi-admin' into mdns-disco-multi-admin 2023-01-11 12:45:21 +01:00
Marcel
9288503a1e Inserted copyright headers 2023-01-11 09:57:03 +01:00