Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Create post installation for deb package #39

Closed
vpetersson opened this issue Apr 16, 2019 · 5 comments · Fixed by #46
Closed

Create post installation for deb package #39

vpetersson opened this issue Apr 16, 2019 · 5 comments · Fixed by #46

Comments

@vpetersson
Copy link
Contributor

The Debian package should do the following things:

  • Run wott-agent to initiate the package
  • Print out a post-installation message

Post installation message

Thank you for installing the wott-agent. Your device's unique ID is: [device id]

To unleash the value of WoTT, and to gain insight into the security of your device(s), sign up for an account at http://dash.wott.io.

You can claim your device in the dashboard by visiting:
[device claim URL]

For more information on how to get started, visit wott.io/getting-started
@AlEsmail
Copy link

Good job installing the wott-agent and welcome to the community of security conscious hardware devs!

You're one step closer to building a secure device. Your device's unique ID is: [device id]

To unleash the value of WoTT, and to gain insight into the security of your device(s), connect your device at https://dash.wott.io.

You can claim your device in the dashboard by visiting:
[device claim URL]

For more information on how to get started, visit wott.io/getting-started or drop me a line at hey@wott.io.

Best!
Viktor

@vpetersson
Copy link
Contributor Author

Works, but I wouldn't sign it off with my name as it is a message from the team.

@a-martynovich
Copy link
Contributor

@vpetersson How about we let this message be produced by agent, not by postinstall script? The script will just invoke agent (with some --arg if needed). This way it will be a lot simpler.

Otherwise I'll have to extract deviceId and claimURL to put them in the message. That's ugly and will break in the future.

@vpetersson
Copy link
Contributor Author

@a-martynovich Yeah that's fine by me.

@a-martynovich
Copy link
Contributor

This issue depends on #44 now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants