masked-pass 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/masked-pass +12 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 52a8be0bc5872a71322c33a79d01b818c088b460bb42046a1fa4ea991e8a2311
|
4
|
+
data.tar.gz: 95c6aa94ab0ee01e2cede40471f2e3900badff77ea73352dd760cdfaccbbb5ba
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9951100454ecd4c119d2b50b5d74cc8e850caf52f1e56ff38c8c42e8f90f28bbcd2283349976b2707ccc37d8111439215f78a235968ee5f1e335ee281ce52d14
|
7
|
+
data.tar.gz: e39ab32551d735847796b21c6958e059d6bf18b5f092181a10e43d6aa6afcc5af84b504ff9659987ff56d8d65e57ccd7db10b63ef90622b0dbff5fce22902162
|
data/bin/masked-pass
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'io/console'
|
4
|
+
|
5
|
+
puts 'Character indexes:'
|
6
|
+
indexes = STDIN.gets.chomp.split(/\s|,/).map(&:to_i)
|
7
|
+
|
8
|
+
puts 'Now paste the password'
|
9
|
+
pass = STDIN.noecho(&:gets).chomp
|
10
|
+
|
11
|
+
puts 'Your characters:'
|
12
|
+
puts indexes.map { |i| pass[i-1] }.join(' ')
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: masked-pass
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Marek Mateja
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Selects specific characters without printing full password on the screen
|
14
|
+
email: marek@mateja.net.pl
|
15
|
+
executables:
|
16
|
+
- masked-pass
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- bin/masked-pass
|
21
|
+
homepage: https://github.com/mmateja/masked-pass
|
22
|
+
licenses:
|
23
|
+
- ISC
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
requirements: []
|
40
|
+
rubyforge_project:
|
41
|
+
rubygems_version: 2.7.6
|
42
|
+
signing_key:
|
43
|
+
specification_version: 4
|
44
|
+
summary: Small program helping with masked passwords
|
45
|
+
test_files: []
|