1.1.3 • Public • Published


Secrez is a CLI secret manager that functions as an encrypted file system, as well as a decentralized, surveillance-resistant, end-to-end encrypted messaging system.


At its core, Secrez is a command-line interface that manages an encrypted file system, with commands that work similarly to Unix commands like cd, mkdir, ls, mv, etc. The idea is to interact with encrypted virtual files as if they are just files in a standard file system.

Why Secrez?

Secrez aims to provide a secure password management solution that is available everywhere. While online password managers like LastPass require you to trust a remote server, desktop tools like KeyPass are more secure but difficult to use on multiple computers. To address this, Secrez combines the security of KeyPass with the accessibility of LastPass.

To achieve its goal, Secrez uses several strategies. First, any secret is a local file. Second, any file, whether it's a tree version, a directory, a text file, or a binary file, is immutable. Finally, any change can be pulled/pushed to a remote private repository. You can either create a private repository on GitHub, BitBucket, etc. or set up your own self-hosted Git server.

In addition to functioning as a password manager, Secrez also includes an optional decentralized, surveillance-resistant, end-to-end encrypted messaging system. This provides an extra layer of security for your communications, ensuring that your messages cannot be intercepted or read by anyone other than the intended recipient.

Overall, Secrez offers a powerful and secure solution for managing your passwords and secrets, all from the command line.

The structure

Secrez simulates an operating system, allowing you to execute commands like ls and mv when you load the environment, similar to what you would normally do in a Unix terminal.

Starting from version 0.6.0, Secrez organizes data into datasets, which act like separate disks, such as /dev/disk1 and /dev/disk2. By default, Secrez generates two datasets: main and trash. You can create more using the use -c command, such as use -c archive. One of the primary goals of a secrets manager is to ensure that no data is ever lost. However, in some cases, secrets may exist in a folder but not be loaded if only the most recent index is read.

Here's an example: Alice uses Secrez on both computer A and B, and the two data sets are aligned. Suddenly, GitHub goes down, and she makes some changes on both computers. When GitHub comes back online, she pushes the master branch on computer A, and everything goes fine. However, when she pulls on computer B and pushes, the data online become inconsistent because the most recent tree (from B) does not contain the new changes that were previously saved on A. This means that some secrets are in one index, while others are in the other.

No problem. When Alice restarts Secrez, the system finds the extra secrets, reads their positions from the previous indexes, and puts them back in the tree. Since files are immutable, the recovery strategy is not always obvious. Here's what happens in different cases:

If the recovered secret is in a folder that does not exist in the "official" index, the entire path is added using the encrypted data of the recovered secret. If the secret is a file in a folder that already exists, the file is added as is, but the folders with existing paths are trashed. If the secret is a file and a file with the same name already exists in the same position, the system checks the content of the file. If it is the same, the secret is ignored. If it's different, it is added as a version. Any unused or rewritten secrets (as versions) are trashed (you can check them in the trash dataset). In any case, all the contents are kept.

To avoid repeating the same process on the other computer (which will generate files with different IDs and more deleted items), Alice should align the repo on computer A before doing anything there. But if she doesn't, nothing will be lost anyway.

Thus said, it is a good practice to align the repo before doing anything. You never know.

The name convention

In Secrez, file names follow a specific convention:


The first character, 1, indicates the type of file. The remaining characters represent an encrypted message with a nonce, in Base58 format. The encrypted part consists of an ID, timestamp, and the actual filename.

During initialization, Secrez reads all file names and builds a tree of the entire file system. This is done using special files called trees. Once all data has been read, Secrez can determine the tree and add any missing secrets. Since everything is encrypted, it is not possible to deduce information from the files on disk, except for versioning and timestamps, which can be obtained from the Git repo.

To mitigate this risk, you can create a new Git repo, save everything as the first commit, and delete the previously used repo. This will result in losing the repo's history, but it will also prevent someone from accessing information about timestamps and versions.

The tree

Secrez manages trees as single immutable files. During a session, temporary files are deleted to keep their number low, but at the exit, the last file remains in the repo.

The cryptographic foundation

Secrez uses NaCl as its primary cryptographic library. NaCl is a widely respected library that provides many algorithms for both synchronous and asynchronous encryption, and its design has been rigorously reviewed by experts in the field. By using NaCl, Secrez is able to provide strong security guarantees for its users.

How to install it

Secrez requires at least Node 10. If you have installed a previous version, it may generate unclear errors and refuse to install or work properly. We recommend installing Node using nvm if possible. For more information, refer to

Since this monorepo uses Pnpm, it is better to install secrez using pnpm because the lock file will be used to avoid unexpected conflicts among modules. To install pnpm, run:

npm i -g pnpm

and then run:

pnpm i -g secrez

How to use it

To get started with Secrez, simply run the command:


Upon first launch, Secrez will prompt you to enter a master password and the number of iterations. The number of iterations is used to derive a master key from your password, so the higher the number, the more secure your data will be. It's recommended to use between 500,000 and 1,000,000 iterations, but you can customize this based on your needs. For example, you can set the number of iterations explicitly by running:

secrez -i 1023896

You can also save the number of iterations locally by adding the -s option:

secrez -s

This will save the number of iterations in a git-ignored env.json file, so you don't have to enter it every time you launch Secrez. If you mistype the number of iterations, Secrez will produce an error.

In addition to the master password and number of iterations, you can also specify other options at launch, such as the initial "external" folder on your computer (-l option) and the container (i.e., the folder) where the encrypted data is located (-c option). By default, both folders are set to your home directory (~). For example, if you want to set up a separate encrypted database in a different folder, you can run:

secrez -c ~/data/secrez

If the number of iterations you chose makes the initial decryption too slow, you can change it inside the Secrez CLI with the conf command.

The commands

Launching help you can list all available commands.

Available commands:
  alias     Create aliases of other commands.
  bash      << deprecated - use "shell" instead
  cat       Shows the content of a file.
  cd        Changes the working directory.
  chat      Enters the Secrez chat
  conf      Shows current configuration and allow to change password and number of iterations).
  contacts  Manages your contacts
  copy      Copy a text file to the clipboard.
  courier   Configure the connection to a local courier
  ds        Manages datasets
  edit      Edits a file containing a secret.
  export    Export encrypted data to the OS in the current local folder
  find      Find a secret.
  help      This help.
  import    Import files from the OS into the current folder
  lcat      Similar to a standard cat in the external fs.
  lcd       Changes the external working directory.
  lls       Browses the external directories.
  lpwd      Shows the path of the external working directory.
  ls        Browses the directories.
  mkdir     Creates a directory.
  mv        Moves and renames files or folders.
  paste     Paste whatever is in the clipboard in an encrypted entries.
  pwd       Shows the path of the working directory.
  quit      Quits Secrez.
  rm        Removes one or more files and folders.
  shell     Execute a shell command in the current disk folder.
  ssh       Opens a new tab and run ssh to connect to a remote server via SSH
  tag       Tags a file and shows existent tags.
  totp      Generate a TOTP code if a totp field exists in the card.
  touch     Creates a file.
  use       Uses a specific dataset.
  ver       Shows the version of Secrez.
  whoami    Show data that other users need to chat with you

Some example

To display the content of an encrypted file called myPrivateKey, run the following command:

cat myPrivateKey

By default, the latest version of the file will be displayed. However, you can use additional options to view a specific version or list all versions.

Secrez uses versioning to ensure data integrity and avoid conflicts when backing up and distributing data through Git. Each time a file is modified, a new encrypted file is created with metadata about its ID and timestamp. The timestamp is used to assign a version to the file, which is a 4-letter hash of the timestamp.

Another useful command is the import command. For example:

import ~/Desktop/myWallet.json -m

This command will encrypt the file myWallet.json located on your Desktop, save it in the encrypted file system, and then delete the original file using the -m option.

This is particularly useful if you have just downloaded a private key to access your crypto wallet and want to encrypt it as soon as possible. With Secrez, you can import the file and delete the cleartext version in one command.

Aliases — where the fun begins :-)

Suppose you have a bank card and want to log in to your online account. You could copy the email and password to the clipboard to paste them in the browser. If you expect to be able to move from the terminal to the browser in 4 seconds, you could run the command:

copy bank.yml -f email password -d 4 2

This will copy the email field and give you 4 seconds to paste it in the browser. Then, it will emit a beep, and you have 2 seconds to paste the password. It sounds quite useful, but it can be even better.

If you use that login often, you could create an alias for it with:

alias b -c "copy bank.yml -f email password -d 4 2"

Next time, you can just type:


It looks great, right? Well, it can be even better.

Let’s say you're using a 2FA app like Google Authenticator to connect to a website, for example, GitHub. Suppose you have a file called github.yml with a field called totp, which is the secret that GitHub gave you when you activated 2FA. You could execute:

totp github.yml

to generate a TOTP token for GitHub. The token will be shown and copied to the clipboard. Now, you can create an alias like this:

alias G -c "copy github.yml -f username password -d 4 2 --wait && totp github.yml"

Can you guess what this will do?

It copies the username to the clipboard; It waits 5 seconds, emits a beep, and copies the password; It waits 3 seconds, emits a beep, and copies the TOTP token, keeping it in the clipboard. You can also use parameters in aliases and create a macro like this:

alias M -c "copy $1 -f username password -d 4 2 --wait && totp $1"

and call it with:

M github.yml

It's fantastic, isn't it?

Btw, using a TOTP factor in Secrez is a bit of a contradiction because you are converting a second factor (something that you have) into a first factor (something that you know). So, use this feature only when it makes sense.

Importing from other password/secret managers

Secrez supports importing backups from other software. Suppose you have exported your passwords in a CSV file named export.csv like this:

Path,Username,Password,Web Site,Notes

A field named path is necessary because Secrez needs to know where to place the new data. The path should be relative, allowing you to import it into your favorite folder.

To import the CSV file into the 1PasswordData folder, for example, you can run:

import export.csv -e 1PasswordData -t

The parameter -e or --expand is necessary. If it's not provided, Secrez will import the file as a single file.

Internally, Secrez converts the CSV file to a JSON file like this:

      path: 'twitter/nick1',
      username: '',
      password: '938eyehddu373',
      web_site: ''
      path: 'facebook/account',
      username: '',
      password: '926734YYY'
      path: 'somePath',
      password: 's83832jedjdj',
      web_site: '',
      notes: 'Multi\nline\nnotes'

This means that you can also format your data as a JSON and import it directly using:

import export.json -e 1PasswordData

Each item in the JSON will generate a single YAML file. For example, the last element in the JSON will generate the file /1PasswordDate/somePath.yml with the following content:

password: s83832jedjdj
notes: |-

When you edit the new file, Secrez recognizes it as a card and asks you which field you want to edit (unless you explicitly specify it with, for example, -f password) and edits just that field.

At the end of the process, you can remove the original backup using the -m option. You can also simulate the process to see which files will be created using the -s option.

If the CSV file also contains a tags field, you can automatically tag any entries using the -t or --tags option. If you don't use this option, the tags will be saved in the YAML file like any other field.

What if there is no path field?

Let's say you want to import a CSV file exported by LastPass, which doesn't have a path field. In this case, you can use other fields, such as grouping and name, to build the path instead. Starting from version 0.8.8, you can do this by running:

import ~/Downloads/lastpass_export.csv -e lastpass -P grouping name

Or, if you want to put everything in the folder lastpass without generating any subfolders, you can run:

import ~/Downloads/lastpass_export.csv -e lastpass -P name -m

By using only the name field, any entries with a slash in the name will create a subfolder. The -m option will remove the CSV file from the operating system after importing.

In both examples, make sure that all entries in the LastPass CSV file have a name. If not, the import will fail because Secrez won't know how to name the file.

Best practices

For security reasons, it is better to export from your password manager and import into Secrez as quickly as possible, removing the exported file from your OS using -m.

However, if you need to edit the exported file to fix paths and names, it is more convenient to do it before importing the data, as it can take a lot more time to do so after the data is imported.

FIDO2 second factor authentication?

It has been removed in version 0.11.0 due to potential critical issues with Python and the required libraries on MacOS (2FA may be restored if a pure Javascript library becomes available).

(experimental) End-to-end encrypted communication with other accounts

Starting from version 0.8.0, Secrez allows you to exchange encrypted messages with other users. To do so, you must set up a local Courier (look here for more info).

Blog posts

Secrez — a secrets manager in time of cryptocurrencies - an intro to Secrez

Send encrypted messages via Secrez - an intro to the experimental messaging

Some thoughts

Secrez is not intended to compete with password managers, so do not expect it to have features like "form filling." The idea behind Secrez originated in 2017 when I was participating in many ICOs, and I had so many files to save, but any password manager I used was not very effective. Secrez is file-oriented and will likely remain so. However, it is open source, and someone is welcome to build a GUI or mobile app built on it.



  • add new option --keystore, -k to export. If a file contains a private key field (i.e., a field with a name containing private_key), it can be exported in the keystore format. The file will have the same name with the extension replaced with .keystore.json.
  • this README has been redacted by ChatGPT to make it more clear and concise.


  • New options for touch:
    • --wait-for-content to prompt the user to add the content, instead of expecting it as a parameter. The content will be trimmed at the first newline, if there is any.
    • --generate-wallet to generate an Ethereum-compatible wallet in a new card or in an existing one. It generates the fields private_key and address, with private key and address.
    • --prefix in combination with --generate-wallet specifies the prefix of the field, calling the fields, for example my_private_key and my_address if the prefix is my.
    • --amount in combination with --generate-wallet specifies the amount of wallets to generate. The default is 1.

1.1.1 (unpublished)

  • using prettier for consistent formatting



  • Fix wrong example in import


  • git asks to quit Secrez and merge manually if there are remote changes
  • totp allows to add a totp code to an existing yaml file using the option --set (see the examples)
  • Default duration before clipboard reverse for totp is now 8 seconds


  • Export and Import can encrypt/decrypt files using shared keys generated from a specified public key
  • Can export ecrypted file for the user itself, files that can be decrypted only from inside the secrez account that exported them


  • Export and Import can handle encryption. Files can be exported encrypted using a specified password or a key shared with contacts
  • Contacts can add a contact also using contact's public key (previously you need a hub url)
  • Import specifies the file that have been skipped (because binary, encrypted or both)


  • Requires @secrez/utils@1.0.1 which fixes a yaml parsing error with ETH-like addresses


  • Rm allows to delete specific versions of a file


  • Git has new options --init, --remote-url and --main-branch to initiate a repo from inside Secrez


  • use @secrez/core@1.0.0, which changes the encoding from base58 to base64, making the encoding much faster
  • remove second factor authentication due to potentially critical issues with Python and the required libraries on macOS (2FA will be restored as soon as either a pure Javascript library is available or using external Python libraries is reliable again)
  • Bash has been renamed Shell


  • expose a prompt mock to allow other software to run commands programmatically
  • fix bug in totp when the command is called but no totp is set


  • fix bug in git -i showing less changed that expected


  • use £ as an alternative to # when getting find results (whoops, I made this for myself, because I use both English and Italian keyboards)
  • add leave to leave a room


  • fix bug in git wrongly returning already up to date
  • fix git's help


  • remove spaces in secret when launching totp
  • add a --test option, to test a secret
  • remove deprecated exit


  • since it's not possible to clear the entire terminal, the clear screen process creates a false sense of security and has been removed
  • fix bug in ls -l when there are empty files
  • add message to suggest user to clear or close the terminal after quitting


  • add a git command to push changes to the repo and pull changes
  • allow to run bash without parameters, asking later for the shell command


  • encrypts binary files as is, without converting them to base64 strings, like before


  • use @secrez/hub 0.2.0 and @secrez/courier 0.2.0 (which are incompatible with the previous versions)
  • duplicate whoami and contacts to make them working inside the chat environment


  • fix bug during import, if a path contains :; now, they are replaced with _


  • fix bug with ds -l not working


  • fix issue in ls -l that was working only in the current dataset
  • fix dates in ls -l in UTC time, instead than in local time


  • ls -l returns details: size, creation date, last update date, number of versions and name


  • Add ds to manage datasets
  • ds is also able to delete a dataset (moving its content to the trash dataset)
  • Remove feature --rename from use, since now ds manages the datasets


  • If the default editor is not defined (env variable EDITOR) try to use nano or vim


  • Pause clearScreen during editing


  • Add the option pathFrom in import to build the path field using other fields


  • Importing from a CSV file generates .yaml file instead of .yml



  • Fix issue with find results when they include datasets.
  • Improve scripts (getting coverage only for modified packages)
  • Add a secrez.png as a generic asset


  • fix issue if a file starts with #\d, like #2something


  • add autocomplete based on find results; for example cat #2 and press tab will complete with the second result in the search


  • fix bug in show which listed all the messages


  • fix bug in conf setting a 2FA
  • improve encapsulation of the _Secrez class


  • add contacts to manage trusted users, i.e, trusted public keys
  • add whoami to get info about the account
  • add @secrez/courier to allow communication between local accounts
  • add @secrez/hub for the remote hub
  • add @secrez/tunnel to manage the tunneling for the Courier
  • add chat to enter the chat environemnt, and send/receive messages and data to any trusted user
  • add chat's subcommands join, send and show.
  • return find results as a numbered list, to be used as variable (like $1) in following commands
  • deprecate exit in favor of quit to leave rooms, chat and app
  • add ssh to connect via ssh to a remote server from inside Secrez, to protect private keys without password


  • fix chained aliases generating prompt duplications


  • fix autocomplete when single command


  • adds support for Linux to totp --from-clipboard, using xclip


  • returns an alert if clipboardy does not find the required libraries


  • fixes the autocomplete loading the data only when needed


  • fix bug in MainPrompt.js which caused an exit if command not found


  • upgrade @secrez/core to 0.7.1 which fixes an error if env.json does not exists


  • aliases now accept params (ex. `alias x -c 'copy $1 && ls $2 $1')


  • rm ask confirmation before delete forever from the trash dataset
  • edit does not crash if no path is passed


  • totp can read an image to scan a qrcode and recover its secret
  • on MacOs, totp can also read the image from the clipboard to recover its secret; it requires pngpaste


  • fix bug in autocomplete showing the error stack
  • add script to upgrade the versions of any changed packages


  • find ignores trash during global searches if not using --trash-too
  • update to @secrez/fs 0.7.2, which fixes a bug in the DataCache class


  • totp allows to generate TOTP codes (like Google Authenticator)
  • add option --wait to copy to force it to wait the end of the execution
  • alias handles chains of commands, like copy coinbase.yml -f email password -d 3 2 --wait && totp coinbase.yml


  • Calling a command with unknown options will generate an error
  • Fix issue moving duplicates
  • Adds to mv an explicit destination field


  • Introduce a more secure derivation process, using the iterations number in the salt. During the upgrade existing second factors of authentication will be removed
  • Allow to change password and number of iterations in conf. BE CAREFUl, any change in conf can cause conflicts in a remote repo. Don't do the same changes parallelly


  • Add duration to export to delete the exported file after the duration (in seconds)


  • Add alias to generate alias of any command


  • Minor bug fix


  • copy can put many fields in the clipboard, scheduling them


  • Add support for U2F keys (Yubikey, Solokeys, etc.)
  • ls now returns sorted results
  • Fixed bug with mv and rm when using wildcards
  • Dynamic format for help, managing large examples


  • Allow multiple datasets; main and trash exists by default
  • At start, purges old trees after successfully loading a dataset
  • use allows to use and create new dataset
  • mv supports -d, --destination for the destination
  • mv allows to move files among datasets with a syntax like mv somefile archive:/ or mv archive:somefile main:/some/
  • mv adds --find and --content-too to use the result of a search as input
  • mv, if no destination set, asks if like to use the active directory in the target dataset
  • ls -o d and ls -o f to limit the listing only to folders or files
  • copy allows to select the field to copy in yaml files
  • Improve autocomplete to handle datasets
  • Fix autocomplete in lcat, which was wrongly using the internal files
  • tag is able to list and show tags along all the datasets, anche can use --find like mv


  • Find in content excludes binary contents


  • Optimize find inside contents caching the data
  • Fix an error returning wrong cases in the results
  • Remove an unnecessary message when nothing is recovered


  • Use tags to prefix the path during import


  • Fix the README that was not aligned


  • Add Paste to paste the clipboard content in either a new or existent file, emptying the clipboard
  • Fix bug with Copy that was preventing the command from working


  • Allow Import, with the options -t, to recognize tags during the import from CSV
  • Split Export in Export and Copy. The first only exports to the FS, the second copies to the clipboard


  • Add wildcard support for Import, Mv, Rm and Tag
  • Add support for recursion during import


  • Add Tag command to tag files and folders


  • Optimize Import avoiding intermediate saves of the tree
  • Fix an issue with iterations at launch


  • Add Import of many entries from CSV and JSON files


  • Use Yaml files as cards, being able to read and edit single fields


  • Remove obfuscation of the tree before saving (it was an overkill)


  • Add Find to search in files and folders


  • First stable version

Versions < 0.5.0 are deprecated because the format was sligtly different and they are incompatible.


Firs off, take a look at Secrez's Code of conduct

Second, join the brand-new Secrez's Discord group

Fork this repo

Clone it

In my case, it would be:

git clone

Install the requirements

npm i -g pnpm

Bootstrap the monorepo

npm run reset

Install OS requirements

To complete the tests, you must install some tools depending on your operating system.

The copy command does not work on Linux if xsel is not installed. So, if you are working on Ubuntu, install it with:

sudo apt install xsel

The totp command requires pngpaste on macOS. You can install it with:

brew install pngpaste

Please note that during the execution of Secrez, an error is generated if those tools have not been found. Please make sure to install them.


To run all the tests, navigate to the root directory of the project and run:

npm run test

If you are inside a package directory, running this command will only execute the package-specific tests. You can also skip coverage by running:

npm run test-only

This is useful during development.


To see if Secrez works properly, you can execute your version of Secrez by running the following command from inside the packages/secrez directory:

npm run dev

You will create a dev account to play with it.

Pull Requests

Before submitting a pull request, you should realign the versions. You can do this by running the following command from the root directory:

npm run patch-versions

Then, you can prepare the README file by inserting the coverage. To do this, run:

npm run pre-push

Finally, you can push to GitHub.

Thank you for any contributions! 😉

Test coverage

  166 passing (25s)
  1 pending

File                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                 
All files              |   71.47 |    58.49 |   71.98 |   71.36 |                                   
 src                   |   59.63 |    54.79 |      55 |   60.19 |                                   
  Command.js           |   79.66 |    78.72 |   76.92 |   81.03 | 32,55-62,73,80,119                
  PreCommand.js        |   21.95 |    11.54 |   14.29 |   21.95 | 8-98,115                          
  cliConfig.js         |     100 |      100 |     100 |     100 |                                   
 src/commands          |   81.53 |       67 |   89.95 |    81.4 |                                   
  Alias.js             |   90.54 |    77.36 |     100 |   90.41 | 101,112,139,169,173,180,190       
  Bash.js              |      75 |        0 |   66.67 |      75 | 18-19                             
  Cat.js               |    98.9 |    88.89 |     100 |    98.9 | 152                               
  Cd.js                |   96.43 |    86.67 |     100 |   96.43 | 44                                
  Chat.js              |   19.51 |        0 |   16.67 |   19.51 | 23-144                            
  Conf.js              |   10.45 |        0 |      25 |   10.45 | 134-499                           
  Contacts.js          |   74.67 |    65.98 |   92.86 |    74.5 | ...90-214,240,247,259,315,328,338 
  Copy.js              |   94.87 |    74.51 |     100 |   94.81 | 111,162,179,204                   
  Courier.js           |   63.54 |    41.86 |   85.71 |   63.83 | ...37,152-171,188,200-203,215-221 
  Ds.js                |   92.54 |    82.05 |     100 |   92.42 | 99,108-113,125                    
  Edit.js              |   13.58 |        0 |      40 |   13.58 | 88-214                            
  Export.js            |   87.63 |    67.74 |     100 |   87.63 | ...66,175,182-186,191,203,212,215 
  Find.js              |   93.59 |    86.67 |     100 |   93.42 | 101,164,200-203,209               
  Help.js              |     100 |       80 |     100 |     100 | 29                                
  Import.js            |    93.2 |    85.48 |     100 |   93.14 | ...65,367,387,393,441,456-463,490 
  Lcat.js              |     100 |    85.71 |     100 |     100 | 54                                
  Lcd.js               |   95.65 |    81.82 |     100 |   95.65 | 50                                
  Lls.js               |   95.45 |    72.73 |     100 |   95.45 | 97                                
  Lpwd.js              |   92.31 |      100 |     100 |   92.31 | 36                                
  Ls.js                |    91.3 |       75 |     100 |   90.77 | 103,114-116,130,181               
  Mkdir.js             |     100 |    66.67 |     100 |     100 | 38-44                             
  Mv.js                |   88.04 |    73.21 |     100 |   87.78 | 93-99,133,155,165-172             
  Paste.js             |   87.23 |       75 |     100 |   87.23 | 72,78,81,89,113,129               
  Pwd.js               |   92.31 |      100 |     100 |   92.31 | 33                                
  Quit.js              |      90 |       50 |     100 |      90 | 27                                
  Rm.js                |      94 |    80.95 |     100 |   93.88 | 63,126,134                        
  Shell.js             |   88.24 |       60 |     100 |   88.24 | 38,55                             
  Ssh.js               |      25 |        0 |      40 |      25 | 72-120                            
  Tag.js               |   98.04 |    92.31 |     100 |   98.02 | 122,171                           
  Totp.js              |   96.47 |    74.47 |     100 |   96.47 | 188-189,235                       
  Touch.js             |   95.92 |    81.48 |     100 |   95.83 | 152,202                           
  Use.js               |   96.77 |    89.47 |     100 |   96.77 | 68                                
  Ver.js               |      90 |    66.67 |     100 |      90 | 25                                
  Whoami.js            |    93.1 |    63.64 |      80 |    93.1 | 29,64                             
  chat.js              |   85.37 |    53.85 |     100 |   85.37 | 105,117-130,136,142               
  index.js             |   91.67 |       60 |     100 |    91.3 | 22,31                             
 src/commands/chat     |   79.44 |    63.29 |   92.31 |   79.33 |                                   
  Contacts.js          |      80 |    42.86 |      80 |      80 | 54,65,69,81                       
  Help.js              |   86.67 |       60 |     100 |   86.67 | 37-38                             
  Join.js              |   95.65 |    82.61 |     100 |   95.56 | 43,110                            
  Leave.js             |     100 |       60 |     100 |     100 | 24,28                             
  Quit.js              |     100 |       75 |     100 |     100 | 24                                
  Send.js              |   67.65 |    46.67 |     100 |   67.65 | 37,41,44,77,86-95                 
  Show.js              |   68.75 |    70.59 |     100 |   68.75 | 74-78,87,102-108                  
  Whoami.js            |   42.86 |        0 |      60 |   42.86 | 22,30-39                          
 src/prompts           |   15.14 |        0 |   14.29 |   15.27 |                                   
  ChatPrompt.js        |    6.17 |        0 |       0 |    6.17 | 8-163                             
  ChatPromptMock.js    |     100 |      100 |   66.67 |     100 |                                   
  CommandPrompt.js     |   10.42 |        0 |       0 |   10.56 | 24-296                            
  Completion.js        |    4.41 |        0 |       0 |    4.48 | 6-103                             
  MainPromptMock.js    |     100 |      100 |   66.67 |     100 |                                   
  MultiEditorPrompt.js |      25 |        0 |       0 |      25 | 7-36                              
  SigintManager.js     |      25 |        0 |      20 |      25 | 10-36                             
 src/utils             |   69.92 |    63.28 |   56.25 |   69.55 |                                   
  AliasManager.js      |     100 |    91.67 |     100 |     100 | 47                                
  ContactManager.js    |   71.43 |       60 |   85.71 |   71.43 | 12,35-37                          
  Fido2Client.js       |   15.38 |        0 |   11.11 |   15.38 | 14-108                            
  HelpProto.js         |    91.6 |    84.06 |     100 |   91.45 | 49,153-154,171-176,195            
  Logger.js            |   63.64 |    56.25 |   36.84 |   62.79 | ...37-49,57,65-69,74,84,88,93,105 


Secrez has been created by Francesco Sullo ( Any opinion, help, suggestion, critic is very welcome.


MIT License

Copyright (c) 2017-present, Francesco Sullo <>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.





npm i secrez

DownloadsWeekly Downloads






Unpacked Size

458 kB

Total Files


Last publish


  • sullof