http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/2449baed2c2f35f43140dc06da1be03f3f51922b/mmgen/passwdlist.py
Valid formats: {}'.format( self.pw_fmt, ', '.join(self.pw_info) )) def chk_pw_len(self,passwd=None): if passwd is None: assert self.pw_len,'either passwd or pw_len must be set' pw_len = self.pw_len fs = '{l}: invalid user-requested length for {b} ({c}{m})' else: pw_len = len(passwd) fs = '{pw}: {b} has invalid length {l} ({c}{m} characters)' d = self.pw_info[self.pw_fmt] if d.valid_lens: if pw_len not in d.valid_lens: die(2, fs.format( l=pw_len, b=d.desc, c='not one of ', m=d.valid_lens,...