1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-30 06:36:21 +00:00
Commit Graph

9501 Commits

Author SHA1 Message Date
cesaaargm
b77784d1f3 [TAS-227] [BUG] Tag verification fails for .dat files 2024-07-02 13:34:37 +02:00
cesaaargm
82ef50f8dd
Merge pull request #5 from carlesfernandez/osnma-cesare-fix4
Fix building with old compilers
2024-06-25 14:12:38 +02:00
Carles Fernandez
2c833051a5
Fix SHA3-256 implementation when linking against OpenSSL 1.1.1 2024-06-25 13:59:23 +02:00
Carles Fernandez
cae618b450
Fix ECDSA signature verification when linking againts OpenSSL 1.0 2024-06-25 12:42:07 +02:00
Carles Fernandez
23bb5c85c5
Fix building against OpenSSL 1.0 2024-06-25 11:45:09 +02:00
Carles Fernandez
9a1def7aa4
Fix building with old compilers 2024-06-25 10:50:00 +02:00
cesaaargm
c1c58eab06
Merge pull request #4 from carlesfernandez/osnma-cesare-fix3
Really fix signature verification with GnuTLS
2024-06-24 15:33:20 +02:00
cesaaargm
2cf96bda87 [TAS-226] [FEAT] Remove tags skipped ≥ 10 times
Take into account TOW to decide whether to skip a tag or not.
Still, I dont like the logic of iterating over and over the tags. Once a tag is verified once, it should be not checked unless next TOW subframe came (new Data or new Key available)

Adittionally: solved a small specification bug for ADKD=12, improved reporting (status of Tag is a string now)
2024-06-24 14:43:43 +02:00
Carles Fernandez
584b95e62e
Fix CMAC-AES implementation in OpenSSL>3.0.0. Add unit test 2024-06-24 14:01:34 +02:00
Carles Fernandez
8ea75116ac
Fix intantiation of Gnss_Crypto() with GnuTLS 2024-06-23 13:48:31 +02:00
Carles Fernandez
a704c10044
Add SHA_256 unit test 2024-06-23 13:34:57 +02:00
Carles Fernandez
378820e76b
Add unit test for SHA3-256 hash algorithm 2024-06-23 13:10:38 +02:00
Carles Fernandez
d4cc036cbd
Fix HMAC-SHA256 computation with OpenSSL > 3.0 2024-06-23 12:03:12 +02:00
Carles Fernandez
1bc6d466c5
Fix conflict 2024-06-23 11:26:36 +02:00
Carles Fernandez
8dfd341d2c
Fix tests building 2024-06-23 11:10:40 +02:00
Carles Fernandez
bac36b2df5
Read .crt files instead of .pem files
Define the following global configuration parameters:
GNSS-SDR.osnma_public_key (string, by default pointing to ../data/OSNMA_PublicKey_20240115100000_newPKID_1.crt)
GNSS-SDR.osnma_merkletree (string, by default pointing to  ../data/OSNMA_MerkleTree_20240115100000_newPKID_1.xml)

Add logging of OSNMA events
Clean public API of Gnss_Crypto class
2024-06-23 09:49:14 +02:00
cesaaargm
849a900adf [TAS-228] [FEAT] adapt osnma test vector to new navData passing
All tags either verified SUCCESSFULLY or Skipped.
Skipping issue still present.
2024-06-22 14:54:08 +02:00
cesaaargm
f1e616c4e5 [TAS-226] [FEAT] Remove tags skipped ≥ 10 times 2024-06-22 14:04:08 +02:00
cesaaargm
c8c7d4c352 [TAS-224] Update telemetry decoder to directly process Navigation Data bits
This update refactors the telemetry decoder to directly retrieve and compute Navigation Data bits. WIP as the tag verification still fails
2024-06-22 14:03:15 +02:00
Carles Fernandez
d41efd2653
Really fix signature verification with GnuTLS 2024-06-21 10:29:20 +02:00
cesaaargm
11e84e751b
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-06-17 17:28:19 +02:00
Carles Fernandez
d1b97cfa09
Clean log 2024-06-14 20:45:55 +02:00
cesaaargm
1a32ccaa19 [TAS-208 WIP ] [Feature] Retrieve directly NavData bits from Telemetry Decoder (ADKD4 and 0/12)
- appear to retrieve data as expected.
- However, tag verification fails still (new dat file)
2024-06-13 01:13:17 +02:00
cesaaargm
b39087f609
Merge pull request #2 from carlesfernandez/osnma-cesare_fix1
Build fixes
2024-06-12 20:47:54 +02:00
cesaaargm
ed32e84402 [TAS-221] [BUG] FLX tag verification fails for recorded signals but succeeds for configuration_2 (otv)
Implemented changes to ensure accurate computation of the d_GST_Sf in message receiver. Checked test is not affected by this. Logging improvements have been made.
2024-06-11 18:33:58 +02:00
Carles Fernandez
0e168a8ff0
Build fixes 2024-06-11 14:16:36 +02:00
cesaaargm
8de00f92bf [TAS-198] tag verification: debug MACSEQ (flex)
- reset the d_GST_Sf computation being d_GST_SIS - 30 seconds. All FLX tags successfuly verified.
2024-06-10 19:47:41 +02:00
cesaaargm
4f7a22f35c [TAS-219] Configuration_2, num_of_hashes needed huge
- Confused PK date with recording date, lead to Kroot time to be in the future (impossible)
2024-06-10 19:01:17 +02:00
cesaaargm
5dfd479cb3 [TAS-216] configuration_2 debug verify_dsm_pkr() and make it work
- several bugs fixed for DSM-PKR verification.
- improved verification, taking into account leaf position (odd/even), which determines concatenation order.
- now: configuration_2 leads to successful DSM-PKR verification.
2024-06-10 18:59:40 +02:00
Carles Fernandez
8ed2893fa3
Update block of GPS satellite 2024-06-10 12:55:45 +02:00
Carles Fernandez
dc18110e5d
Update list of Galileo satellites 2024-06-10 10:49:47 +02:00
cesaaargm
6671d9bf7b [TAS-213] implement configuration_2 osnma test vectors
TODO - parametrize test, since now the hardcoded configuration files are to be selected.
2024-06-09 22:22:39 +02:00
cesaaargm
afa2aa2f5c
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-06-09 22:15:31 +02:00
Carles Fernandez
d62e2e0de5
Bump local version of google/glog to 0.7.1 2024-06-08 19:50:43 +02:00
Carles Fernandez
ec67ea86a3
Bump local version of Protocol Buffers to 27.1 2024-06-06 11:19:02 +02:00
cesaaargm
6508e985a1 [TAS-206] [Feature] NavData for ADKD=4 for osnma_test_vector. 2024-06-04 17:35:00 +02:00
cesaaargm
434fff9cbf [TAS-203] bug osnma_test_vector_config_1 II
bug in build_message (PRN_d instead of PRNa)
tags_awaiting_verification increase buffer size
Reporting: modify tag reporting
2024-06-03 19:59:32 +02:00
cesaaargm
35bb2afaba
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-06-03 05:19:16 +02:00
Carles Fernandez
9c6a312226
Merge branch 'vladisslav2011-fake_multichannel' into next 2024-05-26 22:03:14 +02:00
Carles Fernandez
d320ea70ff
Fix typo in comment 2024-05-26 22:01:46 +02:00
Carles Fernandez
ea38f7e727
Update CHANGELOG 2024-05-26 22:01:14 +02:00
Carles Fernandez
044bc5980a
Merge branch 'fake_multichannel' of https://github.com/vladisslav2011/gnss-sdr into vladisslav2011-fake_multichannel 2024-05-25 13:59:29 +02:00
Carles Fernandez
49a0070a02
Bump local version of Protocol Buffers to 27.0 and google/benchmark to 1.8.4 2024-05-24 17:53:11 +02:00
Carles Fernandez
efd1507672
Merge branch 'castle055-773-protobuf-pkg-config-workaround' into next 2024-05-24 14:40:09 +02:00
Victor Castillo
3dd256eced
Removed redundant find_package(PkgConfig) 2024-05-24 03:31:41 +02:00
Victor Castillo
a4697db0cc
Added a comment to explain a regular expression 2024-05-24 03:26:27 +02:00
Victor Castillo
ecbc65028f
Conditionally link protobuf to its dependencies in Debug mode
This is a workaround to the issue of certain versions of protobuf not advertising their dependencies when using `find_package(Protobuf)`.
2024-05-24 02:48:46 +02:00
cesaaargm
b0eb958be0 [TAS-203] bug osnma_test_vector_config_1
adkd dependence on key selection
2024-05-22 21:01:24 +02:00
cesaaargm
163c915c72 [TAS-161] debug tag_verification :: extract build_message, unit test for BuildTagMessageM0 and fix unit test for TagVerification 2024-05-22 16:58:30 +02:00
cesaaargm
d52603aba5 [TAS-161] debug tag_verification :: extract build_message, unit test for BuildTagMessageM0 and fix unit test for TagVerification 2024-05-21 18:08:25 +02:00