summaryrefslogtreecommitdiff
path: root/tests/shadow/shadow.data.template/hosts
Commit message (Collapse)AuthorAgeFilesLines
* shadow tests: Provide an arti.extra.toml to arti-extra binaryIan Jackson2024-10-2115-0/+15
|
* shadow CI: Add arti hidden service test using a C Tor keystore.Gabriela Moldovan2024-10-089-0/+15
|
* shadow: add obfs4 arti client + tor bridgeopara2024-08-2111-0/+29
|
* shadow test: Add another client for the restricted discovery service.Gabriela Moldovan2024-08-053-0/+9
| | | | | This tests that the client configured in the `authorized_clients` directory of the service is able to connect.
* shadow test: Add a new arti client for connecting to filserver-onion-arti-auth.Gabriela Moldovan2024-08-053-0/+9
| | | | | This will be used with the new `fileserver-onion-arti-auth` test hidden service.
* shadow test: Add fileserver-onion-arti-authGabriela Moldovan2024-08-054-0/+11
| | | | | | | | | This adds a new restricted discovery hidden service (`fpqqmiwzqiv63jczrshh4qcmlxw6gujcai3arobq23wikt7hk7ojadid.onion`) that has 2 authorized clients: * `alice`, the client configured in the `restricted_discovery.static` list in its TOML config * `default`, the client configured in `authorized_clients/default.auth`
* shadow test: Add test for onion svc using full vanguards.Gabriela Moldovan2024-06-036-0/+13
| | | | | | | This adds an onion service that uses full vanguards, and a client that connects to it. Closes #1408
* tor-hsclient: Remove client nickname from the client key specifiers.Gabriela Moldovan2024-02-221-0/+0
| | | | Closes #1283
* tor-hsservice: Rename the service keystore dir to "hss".Gabriela Moldovan2024-02-012-0/+0
| | | | | | | | | | | The onion service keys now live in the `hss/<nickname>` subdirectory within the keystore. This layout change is **not** backwards-compatible, so if you want to use your existing hidden service keys, you will need to manually move them to `<keystore_root>/hss`. Closes #1260
* tor-keymgr: Lowercase the role when building the ArtiPath.Gabriela Moldovan2024-01-313-1/+1
| | | | | | | The role is a slug, and slugs are not allowed to contain uppercase characters. Closes #1195
* tor-keymgr: Strip .onion suffix from HsId before building Slug.Gabriela Moldovan2024-01-311-0/+0
| | | | | | We are about to replace `ArtiPathComponent` with `Slug`, but `Slug`s don't support `.`, so let's strip the `.onion` suffix before encoding it in the `ArtiPath`.
* shadow test: Update the test client auth keys.Gabriela Moldovan2023-12-142-7/+6
| | | | | The algorithm name for x25519 keys has changed, so the test keys need to be updated.
* shadow test: Update hidden service keys.Gabriela Moldovan2023-12-142-7/+7
| | | | | The algorithm name for expanded ed25519 keys has changed, so the test keys need to be updated.
* shadow test: add tor client connecting to arti hsJim Newsome2023-12-132-0/+2
|
* shadow test: add client for arti hsJim Newsome2023-12-132-0/+2
| | | | | This also adds a workaround - the arti service doesn't appear to register itself (set up intro points) unless first used as a client.
* shadow test: add hidden service keystore to templateJim Newsome2023-12-132-0/+9
| | | | This is to ensure a stable HS address.
* shadow test: add fileserver-onion-artiJim Newsome2023-12-131-0/+1
|
* shadow ci: add host articlient-extraJim Newsome2023-12-071-0/+1
| | | | | | | | | | | The arti-extra binary has several experimental features enabled. Currently it is used to test experimental onion service features, but it would be useful also do a test of the arti-extra binary in the same configuration and workload as the arti binary (which has the default featureset). In a follow-up commit, we'll enable the experimental ntor-v3 handshake implementation in the arti-extra binary.
* tor-keymgr: Encode whether the key is public or private in the file extension.Gabriela Moldovan2023-10-131-0/+0
| | | | | | | | | | | | | | There are 2 reasons to make this change: * because having the word `private` in the extension will make it more difficult to accidentally misuse or misplace a private key (see https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1618#note_2947461) * because `Keystore`s will soon grow a `list()` function returning all `(ArtiPath, KeyType)`s in the keystore, and in order for `ArtiNativeKeystore` to implement this function, it will need to be able to reverse the `KeyType -> file extension` mapping (if two different `KeyType`s are mapped to the same extension, `ArtiNativeKeystore`s won't be able to reverse the mapping)
* tor-keymgr: Fix typo in key names.Gabriela Moldovan2023-09-121-0/+0
| | | | The secret keys are prefixed with `KS`, not `KP`.
* tor-keymgr: Remove redundant _private suffix from key extension.Gabriela Moldovan2023-09-121-0/+0
| | | | The privateness of the keys is encoded in their name.
* keymgr: Do not expect x25519 keys to be stored as ed25519 ssh keys.Gabriela Moldovan2023-08-162-6/+6
| | | | | | | | | | | | | | | | | | | | | | Previously, the Arti key store would store x25519 secret keys as ed25519 OpenSSH keys, which it would convert to x25519 upon loading (using the conversion function added in !1297 (merged)). This approach isn't good enough though: most people will probably want to bring their existing x25519 keys, and in order to store those in OpenSSH format, we'd need convert them to ed25519, which is impossible (because the secret part of an x25519 key contains a SHA512'd secret, whereas the corresponding, "un-expanded", ed25519 secret key contains the secret itself rather than the SHA). Now that `ssh-key` has support for ssh keys with [custom algorithm names], we can store x25519 in OpenSSH format directly. This commit changes the storage format used by the keymgr for x25519 client auth keys (from ed25519-ssh to our own custom key type with an algorithm name of `"[email protected]"`). Closes #936 [custom algorithm names]: https://github.com/RustCrypto/SSH/pull/136
* CI: Add client auth integration test.Gabriela Moldovan2023-07-129-0/+15
|
* articlient-onion: don't filter onion addressesJim Newsome2023-07-031-0/+1
|
* Dedupe arti configs and match TestingTorNetworks HS configJim Newsome2023-07-037-66/+4
|
* shadow test: enable arti's `log_sensitive_information` optionJim Newsome2023-07-033-0/+9
|
* shadow test: add 2 more relaysJim Newsome2023-07-0320-0/+8
| | | | | Without this, the onion client was failing to find a guard. We recently made this change in shadow's "tor minimal" test as well.
* shadow test: add and validate arti onion clientJim Newsome2023-07-031-0/+17
|
* shadow test: add onion serverJim Newsome2023-07-035-0/+4
|
* shadow ci: bump shadowJim Newsome2023-05-221-0/+0
|
* add vanila bridge to shadow simtrinity-1686a2022-11-307-0/+28
|
* Create a shadow-based integration testJim Newsome2022-10-0538-0/+301
Fixes https://gitlab.torproject.org/tpo/core/arti/-/issues/174