Drupal 7 Trezor Connect Demo

This virtual machine will allow you to test the drupal trezor connect integration.

If you do not have the bindfs, cachier, and hostmanager vagrant plugins, you can install them with the following commands:

vagrant plugin install vagrant-bindfs
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-hostmanager

Next, provision the vagrant instance:

vagrant up

If the vagrant-hostmanager plugin fails, you may have to manually add the /etc/hosts entry:

## vagrant-hostmanager-start id: 9a3698f5-93f6-4fde-a941-9f5581f6a3e6 tc.dev tc.dev *.tc.dev
## vagrant-hostmanager-end

Listed below are the access credentials for the configured vm:

Drupal Details

Username: admin
Password: password

Testing Instructions

In order to test the integration, you will first need to associate your trezor device with an account.

This can be done two ways depending upon if you have an existing account:

1. User Registration

Click the Create new account link, or visit /user/register.

Click the Sign in with TREZOR link and complete the trezor connect authentication process.

The authentication process performs an AJAX callback to store the authenticated details against your session.

Next, complete the registration process to create your new user account and your trezor device will be linked to your new account.

2. My Account > Authenticated Devices

You can login to an existing account, and click the My Account link to view your profile page.

Click the Authenticated Devices tab

Click the Sign in with TREZOR link and complete the trezor connect authentication process to link your trezor device to your new account.

To unlink a trezor device from your account, click the Forget Authentication Device button on the Authenticated Devices page.