On 06/29/2018 12:51 PM, Ben Oliver wrote:
> On 18-06-29 11:37:04, Steve Harriss wrote:
>> Is there any value in enabling pass to get just 3, or more, specific
>> characters from a password and just displaying them?
>>
>> A lot of banking sites now ask for specific numbered characters and,
>> in a longer password it can be challenging to get the 6th, 12th and 18th.
> 
> I have this exact use case too. Would be cool to be able to do this.
> 
> Out of interest, what would be the best way of doing it on the CLI anyway?

I've never seen this security "feature", but you use cut(1) to do this

  $ echo 1234567890 | cut -c2,4,7-9
  24789

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to