Share your repls and programming experiences

← Back to all posts
#WEEKLY Password thingy!
h
CodingCactus (3190)

Hi!


So the the challenge this week was to make a password saver/vault thingy so that you don't have to remember your passwords (yay!). It was actually really fun to make(no change there then) and I learnt some cool things along the way.


So, first you need to make an account (here) (please please please make sure that you are using it in a new tab or it will not work) then, you jump right in to the password making/saving fun (if you can't be bothered thinking of passwords you can generate a random one)!

The password for your account is salted and hashed and the passwords that you actually save in here are just base64 encoded because it needs to be able to decode them for you to see them and I don't know how to 'unhash' something.


Features!

  • add passwords (along with website name/username)
  • show passwords
  • copy passwords
  • edit passwords
  • remove passwords
  • cool fontAwesome icons
  • it's blue

Have fun!


Side note: this uses an amazing simple and easy to use db made by minx28 called easypydb (well named). I use it for all my projects which need data to be saved (even the hugely successful cactus bot). I just wanted to let you know in case you ever needed a really easy to use, great database for your python programs.

Commentshotnewtop
marsbar (11)

SHA for passwords in 2020... and storing unencrypted passwords? uh that's rlly insecure. Use something like bcrypt for passwords and use a good encryption algorithm to encrypt the user's passwords with their master password and then require them to enter that master password every time they wanna see a password so that you can decrypt the password.

CodingCactus (3190)

@ItzMeWilliam well I have no idea what you just said, but at least I'm doing something. Some of these weekly submissions have no encryption whatsoever

marsbar (11)

@CodingCactus That's not good but I'm not tryna be mean or force u to change anything I'm just tryna give advice for the future :D

marsbar (11)

@CodingCactus Just make sure that if u implement a login system in the future, use bcrypt because SHA isn't good for storing passwords. (https://pypi.org/project/bcrypt/)

firefish (877)

How about repl auth? Huh just a standard forgetful moment.

CodingCactus (3190)

@firefish nah, I don't think it as good as a proper log in system

marsbar (11)

@CodingCactus me neither cuz I dont like having to rely on repl.it, I wanna be able to get actual hosting for my stuff if I ever needed to without having the change the entire thing to not be repl.it reliant :D

JosephSanthosh (1190)

Could you make the size more proportional with the screen?
What is so cute about the font?

CodingCactus (3190)

@JosephSanthosh lol yeah I forgot to style the forms. I just like the icons (in reference to the cute thing)

HarperframeInc (426)

where are the #weekly challenges

CodingCactus (3190)

@HarperframeInc look in the announcement board

python88 (282)

this game is ok amaizing!

DynamicSquid (4532)

cactus? I have a question

DynamicSquid (4532)

@CodingCactus yeah when did you become mod?

CodingCactus (3190)

@DynamicSquid H, he is the guy who is actually paid to mod (leader of the team and main repl talk guy)

DynamicSquid (4532)

@CodingCactus cool! so now you can ban people?

CodingCactus (3190)

@DynamicSquid yeah but I've only banned one person so far

CodingCactus (3190)

@DynamicSquid just some guy who was making loads of accounts to evade his original ban for a lot of swearing and nsfw comments

DynamicSquid (4532)

@CodingCactus ah okay. can you ban yourself? not that I want you to, just curious

DynamicSquid (4532)

@CodingCactus can you ban amasad oh well cool! well done being mod

JosephSanthosh (1190)

Now that's one smart question! Can you ban @amasad ?

@DynamicSquid

ironblockhd (412)

@DynamicSquid he has hundreds of notifications (saw it on his twitter), don't worry haha

firefish (877)

@ironblockhd Speaking of pings I've spent the last 5 minutes straight answering them

firefish (877)

@CodingCactus aarahrgharghgrhgrhaghraghaghrgahrhagrgh,

JonahElias (155)

How do you become a content creator?
@CodingCactus

JonahElias (155)

Sry but where do I start making a tutorial
@CodingCactus

CodingCactus (3190)

@JonahElias you can either
1) make a new repl and add a file with the extension .md which allows you to work on your tutorial with markdown and it saves. Then do step 2 but copy the text in the .md file into the textarea (definitely advisable because you won't be able to write a whole tutorial in one sitting)
2) click the add post button then choose the tutorials board and get writing.

DynamicSquid (4532)

@CodingCactus you have private boards? what are those for?

CodingCactus (3190)

@DynamicSquid oh whoops, erm clues in their names

DynamicSquid (4532)

@CodingCactus how do you use the AMA board?

CodingCactus (3190)

@DynamicSquid the ama board is just the 'ask me anything' board (remember that?) but because you can't delete boards, it was just hidden

Bookie0 (4987)

Nice job! i like the colors!

some suggestions: make it so that you can choose to either copy the username or the password, like LastPass:

also when you add the password, maybe center the textboxes to make it look a bit nicer? ;)

CodingCactus (3190)

@Bookie0 thanks! ok, might add that username thing. But you can still just highlight it

Bookie0 (4987)

ah yes, you highlight it, but the simpler things are the better lol! @CodingCactus