mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 12:56:28 -04:00
Changed SSH key type to ed25519
This commit is contained in:
@@ -101,7 +101,7 @@ if argument == 'version' or argument == '-v':
|
||||
print('/ /')
|
||||
print('/ rpass Copyright (C) 2021 Randall Winkhart /')
|
||||
print('/ /')
|
||||
print('/ Version 2021.09.25.mr5 /')
|
||||
print('/ Version 2021.10.08.mr5 /')
|
||||
print('/ The Housekeeping Update (Pt. 2) /')
|
||||
print('/ /')
|
||||
print('////////////////////////////////////////////////////////\n')
|
||||
@@ -174,7 +174,7 @@ if argument == 'config':
|
||||
sshgen = str(input('rsync support requires a unique ssh key. Would you like to have this '
|
||||
'automatically generated? (Y/n) '))
|
||||
if sshgen != 'n' and sshgen != 'N':
|
||||
term('ssh-keygen -f ~/.ssh/rpass')
|
||||
term('ssh-keygen -t ed25519 -f ~/.ssh/rpass')
|
||||
print('\nExample input: 10.10.10.10:9999\n')
|
||||
ip_port = str(input('What is the IP and ssh port of the remote server? '))
|
||||
print()
|
||||
@@ -270,19 +270,19 @@ if argument == 'add note' or argument == 'add -n':
|
||||
exit()
|
||||
shmfolder, shmentry = shmgen()
|
||||
try:
|
||||
if entryname.startswith('/'):
|
||||
if entryname.replace('/', '', 1).__contains__('/'):
|
||||
if entryname.startswith('/'): # check if user input contains slashes
|
||||
if entryname.replace('/', '', 1).__contains__('/'): # create folder and entry if there are two slashes
|
||||
folder, sep, folderentry = entryname.replace('/', '', 1).partition('/')
|
||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||
f.writelines('\n\n\n' + notes + '\n\n')
|
||||
encryptfolder()
|
||||
term('gpg -d ' + directory + folder + '/' + "'" + folderentry + '.gpg' + "'")
|
||||
else:
|
||||
else: # create entry if there is only one slash
|
||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||
f.writelines('\n\n\n' + notes + '\n\n')
|
||||
encrypt()
|
||||
term('gpg -d ' + directory + "'" + entryname.replace('/', '', 1) + '.gpg' + "'")
|
||||
else:
|
||||
else: # create entry if there are no slashes
|
||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||
f.writelines('\n\n\n' + notes + '\n\n')
|
||||
encrypt()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||
|
||||
rpass 2021.09.25.mr5
|
||||
rpass 2021.10.08.mr5
|
||||
|
||||
The Housekeeping Update (Pt. 2) - Fifth main release of rpass
|
||||
|
||||
@@ -9,25 +9,26 @@ This release focuses on user-facing polish and usability enhancements.
|
||||
New features:
|
||||
|
||||
**add new file list w/color and w/o extensions
|
||||
**add a manpage
|
||||
**add support for multi-line notes (use text editor for notes)
|
||||
|
||||
Changes:
|
||||
|
||||
- fixed issues with copying passwords with certain special characters, e.g. '"()|
|
||||
- auto-generated ssh key now uses ed25519, rather than rsa-3072
|
||||
**add more comments to code
|
||||
**improve exceptions for unknown arguments
|
||||
|
||||
Planned for next update (The Housekeeping Update Pt. 3):
|
||||
Planned for next update (The rcrypt Update):
|
||||
|
||||
- initial implementation of a data store for other applications (libsecret alt.)
|
||||
- ability to pass entries as arguments for more functions
|
||||
- manpage
|
||||
|
||||
Planned, no timeline:
|
||||
|
||||
- possible libsecret integration // cancelled, will instead act as a libsecret alternative that other apps can use to store data in
|
||||
- create separate gui frontend targetting mobile devices (first Linux phones, maybe Android at a later date - official iOS client not likely)
|
||||
^ the gui will also function on desktop linux
|
||||
- make platform agnostic (add Windows support and package for more Linux distributions)
|
||||
- make platform agnostic (add Windows support and package for more Linux distributions, such as Alpine and Debian)
|
||||
- auto-completion on tab (currently unsure of best way to make this work)
|
||||
|
||||
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||
|
||||
Reference in New Issue
Block a user