-
Notifications
You must be signed in to change notification settings - Fork 16
Test credentials for local debug
Xinyu Ma edited this page Nov 15, 2023
·
2 revisions
This part gives some credentials for offline testing. You can use two browser tabs to run in two different identities.
You are suggested to use the local NFD node when you are using the provided credentials. This is because if multiple people are operating as the same identity on the testbed, there will be a sync conflict and the workspace will be btoken.
In the first tab:
- Click
Workspace
on the left panel and click the human plus icon on the right. - Input the trust anchor in base64
- Input the first safebag and the provided passphrase (123456)
- Click the violet
CREATE
.
If you need a second tab:
- Click
Workspace
on the left panel and click the human plus icon on the right. - Input the trust anchor in base64
- Input the second safebag and the provided passphrase (123456)
- Click the azure
JOIN
.
NOTE:
- Make sure exactly one node clicks the
CREATE
button - Make sure safebags are not reused in both tabs
- The order of bootstrapping and connection setup does not matter. If you bootstrap first and forget to setup the connection, other pages (LaTeX and A-Frame) will be automatically running in offline mode without telling you so.
Bv0BPQc0CA1uZG4td29ya3NwYWNlCAR0ZXN0CANLRVkICFJS7LZ8gfUFCARzZWxm
NggAAAGLZIrN/xQJGAECGQQANu6AFVswWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC
AATxuBAe/TYwLQ9e8Zt4cEXW1NPYAW3uooS+ZXTWeqLaXWF8Rlj4CzVzX8SPYiV8
peenggFj5b3qEuMiBPlDQblvFlUbAQMcJgckCA1uZG4td29ya3NwYWNlCAR0ZXN0
CANLRVkICFJS7LZ8gfUF/QD9Jv0A/g8yMDIzMTAyNVQwMTU1MDD9AP8PMjA0MzEw
MjBUMDE1NTAwF0YwRAIgRWW2rafR0vHSsA7uAeb78nSFUPxO0gAwl9KKMzJwuJgC
IEi9gc1gaM3/GYatfQUytQhvOnFxEEnWx+q4MxK7+Knh
Passphrase: 123456
gP0CTAb9AVcHPAgNbmRuLXdvcmtzcGFjZQgEdGVzdAgGbm9kZS0xCANLRVkICB5p
PHZRduI4CARyb290NggAAAGLZJg/khQJGAECGQQANu6AFVswWTATBgcqhkjOPQIB
BggqhkjOPQMBBwNCAASk9iDwa34xP6AVh+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EHYzYBBBNOCH7LelcwJ12f+
amtgBvXaTSAjmWA4CWuB7zCB7DBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQww
HAQIfAcyXQiSbSgCAggAMAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBAeVjub
zfiRo/JfPmnW0bS9BIGQ183XD0RmcyNdxMzJtXKiNY12ST1G2Em5DfYHtWueywdI
xIr0U+no8kchpCABShtoz9aqFb5TgEmbevYavyFbF5P3byqK36jELjuAvVaJAQRl
fnI+BXFXipCPj8vqDswoovUHn/rBMXsoaUHjNqZ2/4nIBlc5PWNcDhZywF4e/Wvz
wTeeVxSVnsyT6d8V2bTA
This part describes the ndnsec
commands to bootstrap a workspace for test using without NDN Cert.
$ ndnsec key-gen /ndn-workspace/test
<SNIP>
$ ndnsec list -vv
pib-sqlite3:
└─* /ndn-workspace/test
└─* /ndn-workspace/test/KEY/RR%EC%B6%7C%81%F5%05
└─* /ndn-workspace/test/KEY/RR%EC%B6%7C%81%F5%05/self/v=1698198900223
$ ndnsec cert-dump /ndn-workspace/test/KEY/RR%EC%B6%7C%81%F5%05/self/v=1698198900223
<SNIP>
$ ndnsec key-gen /ndn-workspace/test/node-1
<SNIP>
$ ndnsec sign-req /ndn-workspace/test/node-1 | ndnsec cert-gen -s /ndn-workspace/test -i root
<SNIP>
$ ndnsec cert-install -
<COPY and PASTE the above>
OK: certificate with name [/ndn-workspace/test/node-1/KEY/%1Ei%3CvQv%E28/root/v=1698199781266] has been successfully installed
$ ndnsec export -c /ndn-workspace/test/node-1/KEY/%1Ei%3CvQv%E28/root/v=1698199781266
Passphrase for the private key: 123456
Confirm: 123456
<SNIP>
$ ndnsec key-gen /ndn-workspace/test/node-2
<SNIP>
$ ndnsec sign-req /ndn-workspace/test/node-2 | ndnsec cert-gen -s /ndn-workspace/test -i root
<SNIP>
$ ndnsec cert-install -
<COPY and PASTE the above>
OK: certificate with name [/ndn-workspace/test/node-2/KEY/m%13%DAkId1V/root/v=1698199908737] has been successfully installed
$ ndnsec export -c /ndn-workspace/test/node-2/KEY/m%13%DAkId1V/root/v=1698199908737
Passphrase for the private key: 123456
Confirm: 123456
<SNIP>