Tabletop Simulator

Tabletop Simulator

Not enough ratings
Diceware Passphrase
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
1.562 MB
26 Jan, 2017 @ 4:11pm
26 Jan, 2017 @ 5:26pm
4 Change Notes ( view )

Subscribe to download
Diceware Passphrase

Description
The easy and popular random passphrase generator is now in Tabletop Simulator, now even easier to use with just a few clicks! Available in 17 different languages, it helps you to create cryptographically secure ASCII word lists that are also easy to remember and hard to decipher, and can be used in most online services.

This was my first experiment with the Tabletop Simulator scripting API (and Lua overall), so please give me feedback if possible!

Instructions

1) The default language is "English (original)". If you wish to change it, pick the pawn with the appropriate name, place it on the bowl and click on "Update language". To add your own wordlists, read the FAQ below. Do not delete the pawn for the default language or this mod might behave unexpectedly!

2) Click on the "Roll" button to roll all five dice and get a random number.

3) Click on the "Add" button to get a word and add it to the passphrase list.

4) Repeat steps 2 and 3 until you have several words suitable for a passphrase. I recommend you to pick at least 6 words. Access the Diceware website[world.std.com] for more information on how to generate a great passphrase.

5) After storing your password safely somewhere, or to generate another passphrase, click on the "Reset" button to clear the notecard and dice values.

Available languages

- Catalan (by Marcel Hernandez)
- Danish (by Povl Here)
- Dutch (by Bart Van den Eynde)
- English (original list) (by Arnold Reinhold)
- English (simplified list) (by Alan Beale)
- Esperanto (by Makis Diras)
- Finnish (by Kai Puolamaki)
- French (by Matthieu Weber)
- German (by Benjamin Tenne)
- Italian (by Tarin Gamberini)
- Japanese (Rōmaji script) (by J Greely)
- Maori (by Rangi Kemara)
- Norwegian (by Willy Koch)
- Polish (by Piotr Tarnowski)
- Portuguese (by Patxi Pierce)
- Spanish (by Manuel Palao)
- Swedish (by Magnus Bodin)
- Turkish (by Mert Dirik)

FAQ

What is Diceware?

Diceware[world.std.com] is a method for generating random passphrases. Like passwords, these passphrases can be used to protect your data from external access. Unlike passwords, they rely on principles that make them longer, more secure, harder to guess and simpler to remember and type. For more information, view the Diceware FAQ[world.std.com]. The current security recommendation for passphrases is to use at least 6 words.

Is this script a secure way to create passphrases?

It depends on how secure you need it to be. In terms of brute-force access, Diceware lists provide more secrecy (entropy) than a regular password format[xkcd.com]. When creating a passphrase, you must make sure that you are the only one with access to it, removing any unsecure traces (for example, the words on the notepad and the values on the dice) as soon as it is securely stored on a piece of paper in a safe for example. However, dice rolls in TTS are determined by pseudo-random numbers (for velocity and rotation), which might make results more predictable than real random dice rolls. But if you're comfortable with this, overall, it is still a valid and secure way to generate random passphrases.

My language doesn't have special symbols like æçñßž.

Due to limitations on the charset used by Tabletop Simulator in save files, special characters (such as diacritics, ligatures and non-Roman letters) that belong in the Unicode standard cannot be represented correctly in ASCII, which is used in-game. Unless Berserk Games fixes this behaviour, there is currently no way to properly support these characters and their languages.

Can I add my own word list or edit an existing one?

Sure! All you need is a list of 7776 words in any order, then create an object in-game (preferably a pawn, but any will do) and edit its Lua script so that it contains a table named "dict" with array elements for each word. Click for an example[pastebin.com]. You may add anything else to the script, as long as the dict table has at least the correct number of elements. Keep in mind that all Diceware word lists are cryptographically identical. If you wish to, you can send it to me and have it added to the Workshop mod.

Additional credits

- Cup model by Papa Durklish.
- Beginner's Guide to Lua by MrStump.
1 Comments
Cronoxliker 9 Aug, 2019 @ 12:27pm 
Great job!