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

scmn-dev/secman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Secman CLI

npm GitHub

Website ย ย โ€ขย ย  Docs ย ย โ€ขย ย  Blog ย ย โ€ขย ย  Twitter ย ย โ€ขย ย  Secman V1

Secman Products


secman is a password manager can store, retrieves, generates, and synchronizes passwords, and is written in TypeScript! The most important difference is secman is not GPG cored. Instead, it uses a master password to securely store your passwords. and you can easily manage your passwords from everywhere.

Features

  • Not GPG cored.
  • It uses a master password to securely store your passwords.
  • It syncs your passwords.
  • Easy to use.
  • It is written in TypeScript.
  • You can easily manage your passwords from everywhere, desktop, web, terminal, and more.

Examples

Initialize ~/.secman

secman init

Authenticate

secman auth

# with one command
secman auth --username EMAIL --password MASTER_PASSWORD

# read the master password from stdin
cat password.txt | secman auth -u EMAIL --password-stdin

Create a new password

secman new -l

โœ” Title โ€บ Twitter
โœ” URL โ€บ https://twitter.com
โœ” Username โ€บ _secman
โœ” Password โ€บ *********
โœ” Extra โ€บ no extra

Password created

List passwords

secman .
.
โ”œโ”€โ”€Logins
โ”‚  โ””โ”€โ”€Twitter
โ”œโ”€โ”€Credit Cards
โ”œโ”€โ”€Emails
โ”œโ”€โ”€Notes
โ””โ”€โ”€Servers

Read It

secman read -l Twitter

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ Title   โ”‚ URL                 โ”‚ Username         โ”‚ Password  โ”‚ Extra    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Twitter โ”‚ https://twitter.com โ”‚ hello@secman.dev โ”‚ โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข โ”‚ no extra โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

show password

secman read -lp Twitter

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ Title   โ”‚ URL                 โ”‚ Username         โ”‚ Password  โ”‚ Extra    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Twitter โ”‚ https://twitter.com โ”‚ hello@secman.dev โ”‚ hitwitter โ”‚ no extra โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Edit password field

secman edit -l Twitter

? Pick a field โ€บ - Use arrow-keys. Return to submit.
โฏ   Title
    URL
    Username
    Password
    Extra

edit multiple fields

secman edit -lm Twitter

? Pick a field โ€บ
? Pick a field โ€บ
Instructions:
    โ†‘/โ†“: Highlight option
    โ†/โ†’/[space]: Toggle selection
    a: Toggle all
    enter/return: Complete answer
โ—ฏ   Title
โ—‰   URL
โ—ฏ   Username
โ—ฏ   Password
โ—‰   Extra

Installation โฌ‡

Using npm

npm i -g secman

(Windows): if you get an error you might need to change the execution policy (i.e. enable Powershell) via

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

Using Homebrew (macOS and Linux)

brew tap scmn-dev/secman
brew install secman

Using script (Ubuntu/Debian)

curl -sL https://cli.secman.dev | bash

Via Docker

secman cli image

docker run -it smcr/secman-cli

see secman cli docs

secman container image

docker run -it smcr/secman

see secman container docs

Build from source

see building from source doc.

Getting started with secman

Initializing

secman init

Authenticate

secman auth

Insert a New Password

secman insert --[PASSWORD_TYPE]

List Passwords

secman .

Read The Password

secman read --[PASSWORD_TYPE] <PASSWORD_NAME>

Edit Password

secman edit --[PASSWORD_TYPE] <PASSWORD_NAME>

Generate

secman generate

Edit Settings

secman settings

see commands

License

secman is licensed under the terms of MIT License

Some Resources

Contributing

Thanks for your interest in contributing to secman . You can start a development environment with gitpod:

open in gitpod

Code Status

CodeQL Secman CI Secman Docker CI Codacy grade

Stargazers over time

Stargazers over time